If cu_comp_dir is "", this will crash as it tries to access index -1:
fullpath = cu_comp_dir; if (*fullpath.rbegin() != '/')
Differential D10247
Fix crash when cu_comp_dir parameter to DWARFDebugLine::ParseSupportFiles() is an empty string ted on Jun 4 2015, 9:13 AM. Authored by
Details
If cu_comp_dir is "", this will crash as it tries to access index -1: fullpath = cu_comp_dir; if (*fullpath.rbegin() != '/')
Diff Detail Event TimelineComment Actions Looks good. I would also file a bug on the compiler that generated and empty DW_AT_comp_dir as this is just bad DWARF. Valid, but bad. |