Users of "readelf" report problems running the tool's DWARF dump flag
on binaries built with the most recent version of the Go compiler (1.25),
Go bug report here https://github.com/golang/go/issues/77246
dwarf.c (skip_attribute <DW_FORM_string>): Skip terminating NUL too.
(cherry picked from commit
a72b83ab3792532b66cc5c472a20476a8a2fd969)
dwarf_version);
case DW_FORM_string:
- inc = strnlen ((char *) data, end - data);
+ inc = strnlen ((char *) data, end - data) + 1;
break;
case DW_FORM_block:
case DW_FORM_exprloc: