diff options
author | Kees Cook <keescook@chromium.org> | 2012-03-05 10:17:22 +0100 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2012-03-05 10:17:22 +0100 |
commit | 7c1f4834d398163d1ac8101e35e9c36fc3176e6e (patch) | |
tree | 16849fb20179cf05c02216556effaa2cfeb8aae7 /stdio-common/Makefile | |
parent | c6922934363f44b88250567f52036d8e9972c255 (diff) | |
download | glibc-7c1f4834d398163d1ac8101e35e9c36fc3176e6e.tar.gz |
2012-03-02 Kees Cook <keescook@chromium.org>
[BZ #13656]
* stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
possibly allocate from heap instead of stack.
* stdio-common/bug-vfprintf-nargs.c: New file.
* stdio-common/Makefile (tests): Add nargs overflow test.
Diffstat (limited to 'stdio-common/Makefile')
-rw-r--r-- | stdio-common/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stdio-common/Makefile b/stdio-common/Makefile index a847b28fbc..080badc36c 100644 --- a/stdio-common/Makefile +++ b/stdio-common/Makefile @@ -59,7 +59,8 @@ tests := tstscanf test_rdwr test-popen tstgetln test-fseek \ tst-popen tst-unlockedio tst-fmemopen2 tst-put-error tst-fgets \ tst-fwrite bug16 bug17 tst-swscanf tst-sprintf2 bug18 bug18a \ bug19 bug19a tst-popen2 scanf13 scanf14 scanf15 bug20 bug21 bug22 \ - scanf16 scanf17 tst-setvbuf1 tst-grouping bug23 bug24 + scanf16 scanf17 tst-setvbuf1 tst-grouping bug23 bug24 \ + bug-vfprintf-nargs test-srcs = tst-unbputc tst-printf |