commit | 1db1c239fe1654f174fbddd70e104909d2ad5f5c | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Wed Nov 23 17:58:47 2011 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Wed Nov 23 17:58:47 2011 +0000 |
tree | 645d614f0e81fa19f18c1d204f8e9ccffe4dba75 | |
parent | a8f5cd3539580b2fe3c20c748c1374f76992f113 [diff] |
Validate the return type when checking if a function is malloc. Fixes PR11426. Not sure if a test case with a "wrong" malloc would be useful. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145106 91177308-0d34-0410-b5e6-96231b3b80d8