1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-08 02:02:23 +03:00
Files
glibc/stdio-common/tst-sscanf.c
Paul Pluzhnikov 5bd80bfe9c 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.
2015-02-06 00:34:51 -05:00

7.0 KiB