projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Automatic date update in version.in
[deliverable/binutils-gdb.git]
/
bfd
/
coff-sh.c
diff --git
a/bfd/coff-sh.c
b/bfd/coff-sh.c
index dd8090c67033a749bdd14222ddf8e0e293fc56fc..26d296baa05e66826fab8c21c6f35e1ad6796c0c 100644
(file)
--- a/
bfd/coff-sh.c
+++ b/
bfd/coff-sh.c
@@
-596,6
+596,9
@@
sh_reloc (bfd * abfd,
&& bfd_is_und_section (symbol_in->section))
return bfd_reloc_undefined;
+ if (addr > input_section->size)
+ return bfd_reloc_outofrange;
+
sym_value = get_symbol_value (symbol_in);
switch (r_type)
This page took
0.02405 seconds
and
4
git commands to generate.