doc/share/security/patches/SA-19:09/iconv.patch
Gordon Tetlow edbd0a5360 Add EN-19:12 and SA-19:09 to SA-19:11
Approved by:	so
2019-07-03 00:30:17 +00:00

11 lines
232 B
Diff

--- lib/libc/iconv/citrus_none.c.orig
+++ lib/libc/iconv/citrus_none.c
@@ -144,7 +144,7 @@
s[2] = (char)(idx >> 16);
*nresult = 3;
} else {
- if (n < 3) {
+ if (n < 4) {
*nresult = (size_t)-1;
return (E2BIG);
}