This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] libdw: Undefined behavior in get_sleb128_step.


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]