commit | 508c627db67ea4b53439fbcd688145f24d9c0400 | [log] [tgz] |
---|---|---|
author | Lenny Maiorani <lenny@colorado.edu> | Thu Apr 28 18:59:43 2011 +0000 |
committer | Lenny Maiorani <lenny@colorado.edu> | Thu Apr 28 18:59:43 2011 +0000 |
tree | c2a889733f19d795d8045d089813e37487232864 | |
parent | 3b4d490b09347e0b68ec0511ddfae79dfaba77a6 [diff] |
Eliminates an assert in the strncpy/strncat checker caused by not validating a cast was successful. If the value of an argument was unknown, the cast would result in a NULL pointer which was later being dereferenced. This fixes Bugzilla #9806. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130422 91177308-0d34-0410-b5e6-96231b3b80d8