projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix another memory access error triggered by attempting to parse a corrupt binary.
[deliverable/binutils-gdb.git]
/
bfd
/
sco5-core.c
diff --git
a/bfd/sco5-core.c
b/bfd/sco5-core.c
index 896a970c9d1a314217a16863e519b4564939cab5..86b5f85efb80c957de7b1020774ee627ab77088f 100644
(file)
--- a/
bfd/sco5-core.c
+++ b/
bfd/sco5-core.c
@@
-1,7
+1,5
@@
/* BFD back end for SCO5 core files (U-area and raw sections)
/* BFD back end for SCO5 core files (U-area and raw sections)
- Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
- 2010, 2011, 2012
- Free Software Foundation, Inc.
+ Copyright (C) 1998-2017 Free Software Foundation, Inc.
Written by Jouke Numan <jnuman@hiscom.nl>
This file is part of BFD, the Binary File Descriptor library.
Written by Jouke Numan <jnuman@hiscom.nl>
This file is part of BFD, the Binary File Descriptor library.
@@
-288,8
+286,8
@@
sco5_core_file_p (bfd *abfd)
secname = NULL; /* Ignore these */
break;
default:
secname = NULL; /* Ignore these */
break;
default:
-
(*_bfd_error_handler)
("Unhandled SCO core file section type %d\n",
-
chead.cs_stype);
+
_bfd_error_handler
("Unhandled SCO core file section type %d\n",
+ chead.cs_stype);
continue;
}
continue;
}
@@
-346,7
+344,7
@@
swap_abort (void)
#define NO_PUT64 ((void (*) (bfd_uint64_t, void *)) swap_abort)
#define NO_GETS64 ((bfd_int64_t (*) (const void *)) swap_abort)
#define NO_PUT64 ((void (*) (bfd_uint64_t, void *)) swap_abort)
#define NO_GETS64 ((bfd_int64_t (*) (const void *)) swap_abort)
-const bfd_target
sco5_core
_vec =
+const bfd_target
core_sco5
_vec =
{
"sco5-core",
bfd_target_unknown_flavour,
{
"sco5-core",
bfd_target_unknown_flavour,
This page took
0.025154 seconds
and
4
git commands to generate.