about summary refs log tree commit diff
path: root/iconvdata/Makefile
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2020-12-21 08:56:43 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2020-12-21 09:01:49 +0530
commitee7a3144c9922808181009b7b3e50e852fb4999b (patch)
tree4c9e861a026de572bf26f6e07986390c06a40407 /iconvdata/Makefile
parente0aec6c83374286ffac44ee1b0e628894b7102e3 (diff)
downloadglibc-ee7a3144c9922808181009b7b3e50e852fb4999b.tar.gz
glibc-ee7a3144c9922808181009b7b3e50e852fb4999b.tar.xz
glibc-ee7a3144c9922808181009b7b3e50e852fb4999b.zip
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.
Diffstat (limited to 'iconvdata/Makefile')
-rw-r--r--iconvdata/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/iconvdata/Makefile b/iconvdata/Makefile
index 4ec2741cdc..85009f3390 100644
--- a/iconvdata/Makefile
+++ b/iconvdata/Makefile
@@ -73,7 +73,8 @@ modules.so := $(addsuffix .so, $(modules))
 ifeq (yes,$(build-shared))
 tests = bug-iconv1 bug-iconv2 tst-loading tst-e2big tst-iconv4 bug-iconv4 \
 	tst-iconv6 bug-iconv5 bug-iconv6 tst-iconv7 bug-iconv8 bug-iconv9 \
-	bug-iconv10 bug-iconv11 bug-iconv12 tst-iconv-big5-hkscs-to-2ucs4
+	bug-iconv10 bug-iconv11 bug-iconv12 tst-iconv-big5-hkscs-to-2ucs4 \
+	bug-iconv13
 ifeq ($(have-thread-library),yes)
 tests += bug-iconv3
 endif