diff options
author | David Majnemer <david.majnemer@gmail.com> | 2016-04-26 18:16:49 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2016-04-26 18:16:49 +0000 |
commit | 8cd77baebc7620b18b4b830d52416762860c291b (patch) | |
tree | 6ff39c3a0577f18f5783d0817c69a994328d8077 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 1c3f65a18cad4d46e8683e47430694c8d8f2ccbe (diff) | |
download | bcm5719-llvm-8cd77baebc7620b18b4b830d52416762860c291b.tar.gz bcm5719-llvm-8cd77baebc7620b18b4b830d52416762860c291b.zip |
[SimplifyLibCalls] sprintf doesn't copy null bytes
sprintf doesn't read or copy the terminating null byte from it's string
operands. sprintf will append it's own after processing all of the
format specifiers.
This fixes PR27526.
llvm-svn: 267580
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions