libdwfl: Make sure to left shift a unsigned 64bit value in expr_eval.
authorMark Wielaard <mark@klomp.org>
Sun, 28 Apr 2019 11:29:53 +0000 (13:29 +0200)
committerMark Wielaard <mark@klomp.org>
Sun, 28 Apr 2019 11:33:44 +0000 (13:33 +0200)
commit6f42d2dc90d2e0cfb3974f67e2ffe3d7b1723157
tree076514588a87f96e1dfe71c635a7522d47be952d
parent6d055c058dc6880f75a1936efa5bea3c49216119
libdwfl: Make sure to left shift a unsigned 64bit value in expr_eval.

In frame_unwind.c expr_eval we left shift 1 up to 56 bits. We have to
make sure we don't left shift a 32bit signed value (that would be
undefined behavior). So shift a 1ULL value instead.

Signed-off-by: Mark Wielaard <mark@klomp.org>
libdwfl/ChangeLog
libdwfl/frame_unwind.c