diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2016-05-08 21:27:39 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2016-05-08 21:27:39 +0000 |
commit | d98b3de9ef84862a522c05df700b0f9e8e0c032f (patch) | |
tree | 224a5cf7173ff7ad5692d45b4f653dad333eee69 /lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py | |
parent | 9d9251b86f09c8ec8bfd603cfe296794e93ac64c (diff) | |
download | bcm5719-llvm-d98b3de9ef84862a522c05df700b0f9e8e0c032f.tar.gz bcm5719-llvm-d98b3de9ef84862a522c05df700b0f9e8e0c032f.zip |
[Bitcode] Fix an unsigned integer overflow while parsing bitcode wrapper header
Specially crafted bitcode wrapper headers can cause unsigned interger
overflow and lead to crashes when wrapping around. Fix the offset check
and avoid such scenarios.
Writing a testcase for this would involve editing the binary to generate
values that trigger the overflow, since this would never happen while
generating the bitcode in regular compilation flows, so there's
currently no feasible way add one.
llvm-svn: 268881
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py')
0 files changed, 0 insertions, 0 deletions