summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2016-05-08 21:27:39 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2016-05-08 21:27:39 +0000
commitd98b3de9ef84862a522c05df700b0f9e8e0c032f (patch)
tree224a5cf7173ff7ad5692d45b4f653dad333eee69 /lldb/packages/Python/lldbsuite/test/lang/cpp/breakpoint-commands/TestCPPBreakpointCommands.py
parent9d9251b86f09c8ec8bfd603cfe296794e93ac64c (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud