diff options
author | Alan Modra <amodra@gmail.com> | 2022-11-23 07:45:49 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-11-23 07:51:41 +1030 |
commit | 63cf857e24be8e657dd2d3197da5c01a0f590d27 (patch) | |
tree | 38e4a569e7e346f1f270beba33e221c008274e15 /binutils/dwarf.c | |
parent | f3f7ecc942f3844559142b933aa40b5ef75e3d5e (diff) | |
download | gdb-63cf857e24be8e657dd2d3197da5c01a0f590d27.zip gdb-63cf857e24be8e657dd2d3197da5c01a0f590d27.tar.gz gdb-63cf857e24be8e657dd2d3197da5c01a0f590d27.tar.bz2 |
Re: readelf: use fseeko64 or fseeko if possible
Replace the macros with a small wrapper function that verifies the fseek
offset arg isn't overlarge.
* readelf.c (FSEEK_FUNC): Delete, replace uses with..
(fseek64): ..this new function.
(process_program_headers): Don't cast p_offset to long.
Diffstat (limited to 'binutils/dwarf.c')
0 files changed, 0 insertions, 0 deletions