serge1 / ELFIO

ELFIO - ELF (Executable and Linkable Format) reader and producer implemented as a header only C++ library
http://serge1.github.io/ELFIO
MIT License
706 stars 152 forks source link

check that section stream is big enough, accounting for overflow #138

Closed mikeagun closed 1 month ago

mikeagun commented 1 month ago

Fixes possible overflow in (sh_offset+size)

serge1 commented 1 month ago

Accepted. Thank you!