]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r262441-262442,262447,262461-262464,262655:
authortijl <tijl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 4 Mar 2014 11:43:01 +0000 (11:43 +0000)
committertijl <tijl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 4 Mar 2014 11:43:01 +0000 (11:43 +0000)
commit27cb77699ae16d4935a98f433444b739b632aa44
tree5045c4e0aaa9e69b40b3b439246baa178fa13df7
parentf337b1ed41cd43d15140cbd6e228e5a071c18dfd
MFC r262441-262442,262447,262461-262464,262655:

- Consistently pass around context information using a simple pointer.
  This fixes some dereferencing bugs in Chinese character set conversions.
- Fix Simplified Chinese character set conversions by switching around the
  fields of an internal struct so it corresponds with the way variables of
  this type are initialised.
- Fix an array index out of bounds bug in iconv VIQR (Vietnamese) module.
- Silence gcc warning about unsigned comparison with 0.

Also record r258316 and r258587 as merged so they no longer show up as
eligible.

PR: 185964
Submitted by: Manuel Mausz <manuel-freebsd@mausz.at>

git-svn-id: svn://svn.freebsd.org/base/stable/10@262731 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/iconv/citrus_prop.c
lib/libc/iconv/citrus_prop.h
lib/libiconv_modules/BIG5/citrus_big5.c
lib/libiconv_modules/HZ/citrus_hz.c
lib/libiconv_modules/VIQR/citrus_viqr.c