You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
loader: x86_64: elf: Avoid reading beyond file end
The ELF header contains offsets that the loader uses to find other
structures. If those offsets are beyond the end of the file (or would go
past the end of the file) it is essential to error out when attempting to
read those. Using `Read::read_exact()` permits this.
Signed-off-by: Bo Chen <[email protected]>
Co-authored-by: Rob Bradford <[email protected]>
0 commit comments