diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-03-08 20:47:07 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-03-08 20:47:07 +0000 |
| commit | d41fca11af4f821b58cb840ce85127c0cb1ff962 (patch) | |
| tree | bc9d095f25b9fe331a4d11cdb018db5033529883 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | 03700ded1b80bf1d0e4b2373001b3320ef014e23 (diff) | |
| download | bcm5719-llvm-d41fca11af4f821b58cb840ce85127c0cb1ff962.tar.gz bcm5719-llvm-d41fca11af4f821b58cb840ce85127c0cb1ff962.zip | |
POSIX: fix possible invalid API usage
strcmp cannot be passed a NULL. Add a short-circuiting check to avoid the
possible API misuse.
llvm-svn: 203358
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions

