[lldb] reject `.debug_arange` sections with nonzero segment size
If a producer emits a nonzero segment size, `lldb` will silently read incorrect values and crash, or do something worse later as the tuple size is expected to be 2, rather than 3. Neither LLVM, nor GCC produce segmented aranges, but this dangerous case should still be checked and handled. Reviewed by: clayborg, labath Differential Revision: https://reviews.llvm.org/D75925 Subscribers: lldb-commits Tags: #lldb
Loading
Please sign in to comment