mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
Fix an array index out of bounds bug in iconv VIQR (Vietnamese) module.
PR: 185964 Submitted by: Manuel Mausz <manuel-freebsd@mausz.at> MFC after: 5 days
This commit is contained in:
parent
93da8bdca8
commit
0006340d93
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=262447
@ -457,7 +457,7 @@ _citrus_VIQR_encoding_module_init(_VIQREncodingInfo * __restrict ei,
|
||||
return (errnum);
|
||||
}
|
||||
}
|
||||
for (i = 0;; ++i) {
|
||||
for (i = 0; i < mnemonic_ext_size; ++i) {
|
||||
p = &mnemonic_ext[i];
|
||||
n = strlen(p->name);
|
||||
if (ei->mb_cur_max < n)
|
||||
|
Loading…
Reference in New Issue
Block a user