llvm-project
97207205 - [lldb-dap] Fix an overflow in the modules request (#243064)

Commit
4 days ago
[lldb-dap] Fix an overflow in the modules request (#243064) For example with args {"startModule": 1, "moduleCount": 4294967295} This would hit the assertion that start_module <= end_module. Without the assert it would try to allocate 4 billion + modules and crash. Limit the possible reserved modules to maximium the total number of modules in the target.
Author
Parents
Loading