Fix memory access violations triggered by running strip on fuzzed binaries.
[deliverable/binutils-gdb.git] / binutils / windres.c
index 00939b0d8eb1c1b0d42216227771206acd020709..2fed128df7020df113196ef610567d32fe5d9044 100644 (file)
@@ -808,6 +808,7 @@ main (int argc, char **argv)
 
   program_name = argv[0];
   xmalloc_set_program_name (program_name);
+  bfd_set_error_program_name (program_name);
 
   expandargv (&argc, &argv);
 
This page took 0.029228 seconds and 4 git commands to generate.