aboutsummaryrefslogtreecommitdiff
path: root/nptl/tst-stdio2.c
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2015-02-06 00:30:42 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2015-02-23 10:00:32 -0500
commit627eabb20f2b70faa3698e2c0124094c6d51af8e (patch)
tree52a452489ef9c9b27f7d40bb39853e0781b5c164 /nptl/tst-stdio2.c
parentec36394743c15fedca294219f2254b180c4e327c (diff)
downloadglibc-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