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
861cf70bc4
commit
af66a98695
@ -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