]> git.ipfire.org Git - thirdparty/glibc.git/commit - iconvdata/Makefile
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)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 21 Dec 2020 03:31:49 +0000 (09:01 +0530)
commitee7a3144c9922808181009b7b3e50e852fb4999b
tree4c9e861a026de572bf26f6e07986390c06a40407
parente0aec6c83374286ffac44ee1b0e628894b7102e3
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.
iconvdata/Makefile
iconvdata/bug-iconv13.c [new file with mode: 0644]
iconvdata/euc-kr.c
iconvdata/ksc5601.h