[PATCH] libdw: Undefined behavior in get_sleb128_step.

Mark Wielaard mjw at redhat.com
Tue Apr 28 12:03:28 UTC 2015


On Wed, 2015-04-22 at 12:46 +0200, Mark Wielaard wrote:
> gcc -fsanitize=undefined pointed out that for too big sleb128 values we
> could shift into the sign bit. So for sleb128 values that have to fit
> in a (signed) int64_t variable reduce the max number of steps by one.

Pushed to master.


More information about the elfutils-devel mailing list