[Bug 24702] New: LLDB crashes when inferior passes bogus values over GDB JIT interface

Bug ID 24702
Summary LLDB crashes when inferior passes bogus values over GDB JIT interface
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter labath@google.com
CC llvm-bugs@lists.llvm.org
Classification Unclassified

If the inferior claims it has just JITted a large object, LLDB will try to
allocate memory to hold it, but will crash due to a bad_alloc exception.
TestJITLoaderGDB.py reproduces this situation.