diff options
| author | Gordon Tetlow <gordon@FreeBSD.org> | 2019-07-03 00:00:39 +0000 |
|---|---|---|
| committer | Gordon Tetlow <gordon@FreeBSD.org> | 2019-07-03 00:00:39 +0000 |
| commit | c9e2fee214718099072ef4d578501bc1991c3ece (patch) | |
| tree | f6fdc4c4203613f7b0b0188ebc09b0974a4c965d | |
| parent | 4366ef04635c51bde21026fc5970d4ea71c107ad (diff) | |
Notes
| -rw-r--r-- | lib/libc/iconv/citrus_none.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/iconv/citrus_none.c b/lib/libc/iconv/citrus_none.c index 56e157ad040b..708b74a3797b 100644 --- a/lib/libc/iconv/citrus_none.c +++ b/lib/libc/iconv/citrus_none.c @@ -142,7 +142,7 @@ _citrus_NONE_stdenc_cstomb(struct _citrus_stdenc * __restrict ce __unused, s[2] = (char)(idx >> 16); *nresult = 3; } else { - if (n < 3) { + if (n < 4) { *nresult = (size_t)-1; return (E2BIG); } |
