Commit e32380ec authored by Mark Wielaard's avatar Mark Wielaard
Browse files

libelf: Make sure ar_size is terminated when reading ar long names.

The ar_size is given as a fixed size decimal string, right padded with
spaces.  Make sure we read it properly even if there is no terminating
space. Also sanity check len early if we can.

https://sourceware.org/bugzilla/show_bug.cgi?id=24085



Signed-off-by: default avatarMark Wielaard <mark@klomp.org>
parent e8f8dc46
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment