commit | 6ee765348b2855c702fa593fb030ef6abe0d01f6 | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Thu Mar 25 03:59:12 2010 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Thu Mar 25 03:59:12 2010 +0000 |
tree | 050fc89d24e82d40bed63ee34005f57580699d31 | |
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