blob: 46ea1b6c9af3a35f02b3e9fd8c29ce2b0ec8cc1b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- 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);
}
|