aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/truncate.c
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 /sysdeps/unix/sysv/linux/truncate.c
parente0aec6c83374286ffac44ee1b0e628894b7102e3 (diff)
downloadglibc-ee7a3144c9922808181009b7b3e50e852fb4999b.zip
glibc-ee7a3144c9922808181009b7b3e50e852fb4999b.tar.gz
glibc-ee7a3144c9922808181009b7b3e50e852fb4999b.tar.bz2
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 'sysdeps/unix/sysv/linux/truncate.c')
0 files changed, 0 insertions, 0 deletions