commit | 167dc5774d39c897277b735116792d9c2ab6a64f | [log] [tgz] |
---|---|---|
author | Steven Wu <stevenwu@apple.com> | Wed Dec 18 12:22:21 2019 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Aug 28 11:15:15 2020 -0700 |
tree | 960906149925bf910da592f8c43ff8c300608d0e | |
parent | f54e6605bd98064c1de88db0dfc3d6ca0710ac21 [diff] |
[libunwind] Fix evaluating DWARF operation DW_OP_pick reg is unsigned type and used here for getting array element from the end by negating it. negation of unsigned can result in large number and array access with that index will result in segmentation fault. Fixes: https://bugs.llvm.org/show_bug.cgi?id=43872 Patched by: kamlesh kumar Differential Revision: https://reviews.llvm.org/D69893 GitOrigin-RevId: 9366397f057d18401e680b2cb28a0ee17c59d4a6