[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>
Sat, 29 Jun 2024 10:27:34 +0000 (13:27 +0300)
commit9a8611cf0f0ed992f7d9471c1bffd6684afebc41
tree690b16abd50283f8ce73668a5f7d95b0f0c01450
parent535c9841b6c78a71e8e9bb2810fe886c6661f37c
[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