[PATCH] Fix buffer overrun in EUC-KR conversion module (bz #24973)
authorAndreas Schwab <schwab@suse.de>
Mon, 21 Dec 2020 03:26:43 +0000 (08:56 +0530)
committerAdrian Bunk <bunk@debian.org>
Tue, 23 Apr 2024 16:23:00 +0000 (19:23 +0300)
commit306413ff14a0c105436fbe80834d22510d142503
tree79a5136a52b2d37b260504f6a5287dd06fe3117a
parent6c6865d84d05c98e300985d3c8f6e0f435078606
[PATCH] Fix buffer overrun in EUC-KR conversion module (bz #24973)

The byte 0xfe as input to the EUC-KR conversion denotes a user-defined
area and is not allowed.  The from_euc_kr function used to skip two bytes
when told to skip over the unknown designation, potentially running over
the buffer end.

Gbp-Pq: Topic all
Gbp-Pq: Name git-CVE-2019-25013-Fix-buffer-overrun-in-EUC-KR-conversion-module-bz-24.diff
iconvdata/Makefile
iconvdata/bug-iconv13.c [new file with mode: 0644]
iconvdata/euc-kr.c
iconvdata/ksc5601.h