]> git.ipfire.org Git - thirdparty/glibc.git/commit
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)
committerFangrui Song <i@maskray.me>
Sat, 28 Aug 2021 00:26:07 +0000 (17:26 -0700)
commitc0e9696c3ccf8f86a43ec893d5f4dd911a957140
tree679ee3aa80554d4b435ce7029c4de7046b6eba60
parentb3331e2d53946662676c8604152816073f7c88aa
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/bug-iconv13.c [new file with mode: 0644]
iconvdata/euc-kr.c
iconvdata/ksc5601.h