[sanitizer] fix a potential buffer overflow due to __sanitizer_symbolize_pc (need...
authorKostya Serebryany <kcc@google.com>
Fri, 9 Sep 2016 02:13:27 +0000 (02:13 +0000)
committerKostya Serebryany <kcc@google.com>
Fri, 9 Sep 2016 02:13:27 +0000 (02:13 +0000)
commitd77e8c02691fa3100f5015961568d9a527f25e95
tree5581ed375b68cf8de875ff09f883a3d207f25b9c
parent8ea4f9873b11e60fb108451ccd634b54d830a11e
[sanitizer] fix a potential buffer overflow due to __sanitizer_symbolize_pc (need to put a zero after strncmp). LOL

llvm-svn: 281015
compiler-rt/lib/sanitizer_common/sanitizer_stacktrace_libcdep.cc
compiler-rt/test/sanitizer_common/TestCases/symbolize_pc.cc