aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-03-08 20:47:12 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-03-08 20:47:12 +0000
commit9174593d09f6787704078b65d1fdd3d7476d6884 (patch)
tree2b1dcbf9c08c5f89562ce6d3e69437871eab6397 /llvm/lib/CodeGen/StackProtector.cpp
parentd41fca11af4f821b58cb840ce85127c0cb1ff962 (diff)
downloadllvm-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