Skip to content
Snippets Groups Projects
Commit 49ebe63b authored by Chandler Carruth's avatar Chandler Carruth
Browse files

[UB] Guard two calls to memcpy in generated attribute code to handle

null StringRef objects as inputs.

Found by UBSan.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@243949 91177308-0d34-0410-b5e6-96231b3b80d8
parent 35ae9a51
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment