display_debug_macinfo
authorAlan Modra <amodra@gmail.com>
Sat, 15 May 2021 05:31:51 +0000 (15:01 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 15 May 2021 05:35:29 +0000 (15:05 +0930)
commitc03df92247333e5bf65bc663fab80fe7a87c0370
treedf0e2e34a73dc8820d8ba44e51420846e8a5225f
parent35b2c89ec8bbcbf6894cb6ae408d97cbe06bbeb4
display_debug_macinfo

The existing code went to the bother of using strnlen for scanning but
went wild when printing, and possibly incremented curr past end.

* dwarf.c (display_debug_macinfo): Print strings that might not
be zero terminated with %*s.  Don't bump curr if unterminated.
binutils/ChangeLog
binutils/dwarf.c
This page took 0.029323 seconds and 4 git commands to generate.