[Bug libdw/26773] sleb128 values near INT64_MAX/MIN not correctly read
mark at klomp dot org
sourceware-bugzilla@sourceware.org
Thu Oct 29 23:07:11 GMT 2020
https://sourceware.org/bugzilla/show_bug.cgi?id=26773
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #5 from Mark Wielaard <mark at klomp dot org> ---
commit 70343f484481184f9fa216071399690ff833256b
Author: Tom Tromey <tom@tromey.com>
Date: Wed Oct 28 17:26:42 2020 -0600
Fix leb128 reading
PR 26773 points out that some sleb128 values are decoded incorrectly.
This version of the fix only examines the sleb128 conversion.
Overlong encodings are not handled, and the uleb128 decoders are not
touched. The approach taken here is to do the work in an unsigned
type, and then rely on an implementation-defined cast to convert to
signed.
Signed-off-by: Tom Tromey <tom@tromey.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Elfutils-devel
mailing list