Branch: refs/heads/fix_ub_dwarf_subrange_get_type
Home: https://github.com/dyninst/dyninst
Commit: bbfe4cef3da8f100007722d6e5de133a33faff10
https://github.com/dyninst/dyninst/commit/bbfe4cef3da8f100007722d6e5de133a33faff10
Author: Tim Haines <[email protected]>
Date: 2023-03-22 (Wed, 22 Mar 2023)
Changed paths:
M dwarf/src/dwarf_subrange.cpp
Log Message:
-----------
Fix UB in dwarf/dwarf_subrange.cpp::get_type
The dwarf_* functions return a pointer to their last argument. This causes
'get_type' to return a pointer to a local variable.
_______________________________________________
Dyninst-api mailing list
[email protected]
https://lists.cs.wisc.edu/mailman/listinfo/dyninst-api