Fix out of bounds memory access when trying to allocate space for a note of size -1.
[deliverable/binutils-gdb.git] / bfd / hp300bsd.c
index 2688b802e7d363cf45d189d89afbc8d3c07ecbf3..bfaa2f4145c33b21f637038c9a15343fdd928e54 100644 (file)
@@ -1,6 +1,5 @@
 /* BFD back-end for HP 9000/300 (68000-based) machines running BSD Unix.
-   Copyright 1992, 1994, 1995, 2001, 2003, 2005, 2007, 2009
-   Free Software Foundation, Inc.
+   Copyright (C) 1992-2017 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -30,7 +29,7 @@
 /* Do not "beautify" the CONCAT* macro args.  Traditional C will not
    remove whitespace added here, and thus will fail to concatenate
    the tokens.  */
-#define MY(OP) CONCAT2 (hp300bsd_,OP)
+#define MY(OP) CONCAT2 (m68k_aout_hp300bsd_,OP)
 #define TARGETNAME "a.out-hp300bsd"
 
 #include "sysdep.h"
This page took 0.023876 seconds and 4 git commands to generate.