projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gas: run the hwcaps-bump tests with 64-bit sparc objects only.
[deliverable/binutils-gdb.git]
/
binutils
/
rescoff.c
diff --git
a/binutils/rescoff.c
b/binutils/rescoff.c
index 2706f158893441ea76cdb565f968448852ef4584..9151eab93fcbc2769b26fd441d82e97b7b252dcb 100644
(file)
--- a/
binutils/rescoff.c
+++ b/
binutils/rescoff.c
@@
-1,5
+1,5
@@
/* rescoff.c -- read and write resources in Windows COFF files.
/* rescoff.c -- read and write resources in Windows COFF files.
- Copyright (C) 1997-201
5
Free Software Foundation, Inc.
+ Copyright (C) 1997-201
6
Free Software Foundation, Inc.
Written by Ian Lance Taylor, Cygnus Support.
Rewritten by Kai Tietz, Onevision.
Written by Ian Lance Taylor, Cygnus Support.
Rewritten by Kai Tietz, Onevision.
@@
-249,7
+249,7
@@
read_coff_res_dir (windres_bfd *wrbfd, const bfd_byte *data,
for (j = 0; j < length; j++)
{
/* PR 17512: file: 05dc4a16. */
for (j = 0; j < length; j++)
{
/* PR 17512: file: 05dc4a16. */
- if (length < 0 || ers >=
(bfd_byte *) ere || ers + j * 2 + 4 >= (bfd_byte *) ere
)
+ if (length < 0 || ers >=
flaginfo->data_end || ers + j * 2 + 4 >= flaginfo->data_end
)
overrun (flaginfo, _("resource name"));
re->id.u.n.name[j] = windres_get_16 (wrbfd, ers + j * 2 + 2, 2);
}
overrun (flaginfo, _("resource name"));
re->id.u.n.name[j] = windres_get_16 (wrbfd, ers + j * 2 + 2, 2);
}
This page took
0.023231 seconds
and
4
git commands to generate.