diff options
| author | Ivan Krasin <krasin@chromium.org> | 2016-08-31 17:23:05 +0000 |
|---|---|---|
| committer | Ivan Krasin <krasin@chromium.org> | 2016-08-31 17:23:05 +0000 |
| commit | 8baccc2f19941dd8ec5a6d89e848fd49d5f66d80 (patch) | |
| tree | 38d4eeea293c35210be06476789e746aa3ef0086 /lldb/packages/Python/lldbsuite/support | |
| parent | 1e9d3d3b40ccf8c46ae8cd5ee30e9dfbf6bd6604 (diff) | |
| download | bcm5719-llvm-8baccc2f19941dd8ec5a6d89e848fd49d5f66d80.tar.gz bcm5719-llvm-8baccc2f19941dd8ec5a6d89e848fd49d5f66d80.zip | |
Fix UBSan bot by not passing NULL into memcpy src.
Summary:
UBSan complains like the following:
tools/lld/COFF/Writer.cpp:97:15: runtime error: null pointer passed as argument 2, which is declared to never be null
The reason is that the vector could be empty.
Reviewers: rsmith
Subscribers: Eugene.Zelenko, kcc
Differential Revision: https://reviews.llvm.org/D24050
llvm-svn: 280259
Diffstat (limited to 'lldb/packages/Python/lldbsuite/support')
0 files changed, 0 insertions, 0 deletions

