ianlancetaylor / libbacktrace

A C library that may be linked into a C/C++ program to produce symbolic backtraces
Other
975 stars 228 forks source link

libbacktrace: correct buffer overflow tests #61

Closed thanm closed 3 years ago

thanm commented 3 years ago
        * dwarf.c (resolve_string): Use > rather than >= to check whether
        string index extends past buffer.
        (resolve_addr_index): Similarly for address index.

[This is a copy of commit 8f461a883ba from the main repo.]

ianlancetaylor commented 3 years ago

I committed this change using my scripts. New tip revision is 1da441c1b020bef75d040dd300814b1a49e0e529.