[PATCH] Sanitize printf functions
Yury Gribov
tetra2005 at gmail.com
Fri Jan 10 04:30:40 PST 2014
Major changes:
* split format_parse_next to 2 functions
* same for scanf_get_value_size
* safer check of buffer size in sprintf
Issues found by eugenis should be fixed now.
Hi samsonov, eugenis,
http://llvm-reviews.chandlerc.com/D2480
CHANGE SINCE LAST DIFF
http://llvm-reviews.chandlerc.com/D2480?vs=6394&id=6410#toc
Files:
lib/tsan/lit_tests/printf-1.c
lib/tsan/rtl/tsan_stat.h
lib/tsan/rtl/tsan_stat.cc
lib/msan/msan_interceptors.cc
lib/sanitizer_common/sanitizer_common_interceptors.inc
lib/sanitizer_common/sanitizer_platform_interceptors.h
lib/sanitizer_common/sanitizer_flags.h
lib/sanitizer_common/sanitizer_flags.cc
lib/sanitizer_common/tests/sanitizer_scanf_interceptor_test.cc
lib/sanitizer_common/sanitizer_common_interceptors_scanf.inc
lib/asan/lit_tests/TestCases/printf-2.c
lib/asan/lit_tests/TestCases/printf-4.c
lib/asan/lit_tests/TestCases/printf-1.c
lib/asan/lit_tests/TestCases/printf-3.c
lib/asan/lit_tests/TestCases/printf-5.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2480.5.patch
Type: text/x-patch
Size: 46543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140110/ee72ed36/attachment.bin>
More information about the llvm-commits
mailing list