dwarf.c: string_fortify.h strncpy error
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 125dd2e1a3188d70b049881abdfebc162a0b8491..c6a05ca6b3eea50d45a32496e617269103db3422 100644 (file)
@@ -1,3 +1,9 @@
+2021-06-19  Alan Modra  <amodra@gmail.com>
+
+       * dwarf.c (display_debug_lines_decoded): Use memcpy rather than
+       strncpy when trimming file name length to MAX_FILENAME_LENGTH.
+       Don't make an unnecessary copy when length is good.
+
 2021-06-18  H.J. Lu  <hongjiu.lu@intel.com>
 
        * readelf.c (print_gnu_property_note): Handle
This page took 0.026321 seconds and 4 git commands to generate.