[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)
committerHelmut Grohne <helmut@subdivi.de>
Sat, 8 Oct 2022 15:53:16 +0000 (16:53 +0100)
commitea37e1a2406663f3fa657ddad338e7ef6b4ffc38
tree86ecfa584c77ac2dea47fb8a8188e3a2c1733090
parent48ea5ba8755318d4bf7152826be2bd6315f8b830
[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