diff options
author | Andreas Schwab <schwab@suse.de> | 2021-01-06 11:03:44 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-01-06 11:03:44 +0530 |
commit | 0d9793e82a19bcef10ef7d73a26cd44b7ad30753 (patch) | |
tree | 00a459051cf0111ee14cf643c012e02c060ef084 /elf/cache.c | |
parent | 1d49bede4d8a5448067e8579b14fedf437e75aee (diff) | |
download | glibc-0d9793e82a19bcef10ef7d73a26cd44b7ad30753.tar.gz glibc-0d9793e82a19bcef10ef7d73a26cd44b7ad30753.tar.xz glibc-0d9793e82a19bcef10ef7d73a26cd44b7ad30753.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. (cherry picked from commit ee7a3144c9922808181009b7b3e50e852fb4999b)
Diffstat (limited to 'elf/cache.c')
0 files changed, 0 insertions, 0 deletions