* srec.c (srec_get_section_contents): Return immediately on
commit64ce13c75dd0e4f9deea0f5fc9466d73cb06ffcf
authorAlan Modra <amodra@bigpond.net.au>
Thu, 26 Jul 2007 12:34:43 +0000 (26 12:34 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Thu, 26 Jul 2007 12:34:43 +0000 (26 12:34 +0000)
treebbe22cb6fff49f6ffe969b411d29a17df1f4661b
parent820e488d729b201b7cc548c8f2277b363dc4e4b0
* srec.c (srec_get_section_contents): Return immediately on
count zero.  Check that offset and count are within section.
* libbfd.c (_bfd_generic_get_section_contents): Check that
offset + count does not overflow.
bfd/ChangeLog
bfd/libbfd.c
bfd/srec.c