diff options
author | Ted Kremenek <kremenek@apple.com> | 2010-03-25 03:59:12 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2010-03-25 03:59:12 +0000 |
commit | 6ee765348b2855c702fa593fb030ef6abe0d01f6 (patch) | |
tree | 050fc89d24e82d40bed63ee34005f57580699d31 /lib/CodeGen/CGVtable.cpp | |
parent | fdb703ab3a3c28aeb53b3db4c54e14a30d78dc4e (diff) |
Fix two bugs in format-string checking:
(1) Do not assume the data arguments start after the format string
(2) Do not use the fact that a function is variadic to treat it like a va_list printf function
Fixes PR 6697.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99480 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGVtable.cpp')
0 files changed, 0 insertions, 0 deletions