Author: tijl Date: Mon Feb 24 14:40:28 2014 New Revision: 262447 URL: http://svnweb.freebsd.org/changeset/base/262447
Log: Fix an array index out of bounds bug in iconv VIQR (Vietnamese) module. PR: 185964 Submitted by: Manuel Mausz <manuel-free...@mausz.at> MFC after: 5 days Modified: head/lib/libiconv_modules/VIQR/citrus_viqr.c Modified: head/lib/libiconv_modules/VIQR/citrus_viqr.c ============================================================================== --- head/lib/libiconv_modules/VIQR/citrus_viqr.c Mon Feb 24 13:59:23 2014 (r262446) +++ head/lib/libiconv_modules/VIQR/citrus_viqr.c Mon Feb 24 14:40:28 2014 (r262447) @@ -457,7 +457,7 @@ _citrus_VIQR_encoding_module_init(_VIQRE 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) _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"