[PATCH] crash in vms-misc.c with non VMS files
Szabolcs Szakacsits
szaka@f-secure.com
Mon May 15 14:30:00 GMT 2000
Hi,
When binutils compiled with --enable-targets=all automatic target
detection can crash or corrupt heap memory with non vms files. Here
is patch.
Szaka
--- vms-misc.c.orig Mon Jul 12 12:30:13 1999
+++ vms-misc.c Tue May 16 00:26:20 2000
@@ -328,6 +328,9 @@
test_len = 0;
test_start = 0;
break;
+ default:
+ bfd_set_error (bfd_error_wrong_format);
+ return -1;
}
/* skip odd alignment byte */
More information about the Binutils
mailing list