fix iconv conversions for iso88592-iso885916
authorBartosz Brachaczek <b.brachaczek@gmail.com>
Thu, 15 Jun 2017 21:30:48 +0000 (23:30 +0200)
committerRich Felker <dalias@aerifal.cx>
Wed, 21 Jun 2017 00:41:23 +0000 (20:41 -0400)
commitb7bfb5c3a8330002250f304cb5deb522fa054eae
treeb22815f7d5db219a990c97e058286014dce69abf
parent64f855874c32e192382df69f4765a7e32057a005
fix iconv conversions for iso88592-iso885916

commit 97bd6b09dbe7478d5a90a06ecd9e5b59389d8eb9 refactored the table
lookup into a function and introduced an error in index computation.
the error caused garbage to be read from the table if the given charmap
had a non-zero number of elided entries.
src/locale/iconv.c