diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-03-08 20:47:12 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2014-03-08 20:47:12 +0000 |
commit | 9174593d09f6787704078b65d1fdd3d7476d6884 (patch) | |
tree | 2b1dcbf9c08c5f89562ce6d3e69437871eab6397 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | d41fca11af4f821b58cb840ce85127c0cb1ff962 (diff) | |
download | llvm-9174593d09f6787704078b65d1fdd3d7476d6884.zip llvm-9174593d09f6787704078b65d1fdd3d7476d6884.tar.gz llvm-9174593d09f6787704078b65d1fdd3d7476d6884.tar.bz2 |
POSIX: fix possible API misuse
memcpy cannot be passed NULL. Ensuring that the destination pointer is non-NULL
requires checking success. Rather than performing the success check at that
point, increasing indentation an additional level, fold it into the previous
statement.
llvm-svn: 203359
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions