diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2015-02-06 00:30:42 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2015-02-23 10:00:32 -0500 |
commit | 627eabb20f2b70faa3698e2c0124094c6d51af8e (patch) | |
tree | 52a452489ef9c9b27f7d40bb39853e0781b5c164 /nptl/tst-stdio2.c | |
parent | ec36394743c15fedca294219f2254b180c4e327c (diff) | |
download | glibc-627eabb20f2b70faa3698e2c0124094c6d51af8e.zip glibc-627eabb20f2b70faa3698e2c0124094c6d51af8e.tar.gz glibc-627eabb20f2b70faa3698e2c0124094c6d51af8e.tar.bz2 |
CVE-2015-1472: wscanf allocates too little memory
BZ #16618
Under certain conditions wscanf can allocate too little memory for the
to-be-scanned arguments and overflow the allocated buffer. The
implementation now correctly computes the required buffer size when
using malloc.
A regression test was added to tst-sscanf.
Conflicts:
ChangeLog
NEWS
stdio-common/tst-sscanf.c
Diffstat (limited to 'nptl/tst-stdio2.c')
0 files changed, 0 insertions, 0 deletions