| commit | 0ffdc37b98964477e70bfd63ca28f374193dcdb2 | [log] [tgz] |
|---|---|---|
| author | H.J. Lu <hjl.tools@gmail.com> | Thu Apr 04 06:37:18 2024 -0700 |
| committer | H.J. Lu <hjl.tools@gmail.com> | Thu Apr 04 15:35:48 2024 -0700 |
| tree | f45a262c03413092c89a8735f34f73a064c36e65 | |
| parent | 360d244b24e84c50f2c6054908cfafb370a1f13c [diff] |
bfd_mmap_local: Check offset and size Update bfd_mmap_local to return NULL if filesize < offset or filesize - offset < rsize. * libbfd.c (bfd_mmap_local): Validate offset and size against the file size.