diff options
author | Alan Modra <amodra@gmail.com> | 2021-05-15 15:01:51 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-05-15 15:05:29 +0930 |
commit | c03df92247333e5bf65bc663fab80fe7a87c0370 (patch) | |
tree | df0e2e34a73dc8820d8ba44e51420846e8a5225f /sim/m32c | |
parent | 35b2c89ec8bbcbf6894cb6ae408d97cbe06bbeb4 (diff) | |
download | binutils-c03df92247333e5bf65bc663fab80fe7a87c0370.zip binutils-c03df92247333e5bf65bc663fab80fe7a87c0370.tar.gz binutils-c03df92247333e5bf65bc663fab80fe7a87c0370.tar.bz2 |
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.
Diffstat (limited to 'sim/m32c')
0 files changed, 0 insertions, 0 deletions