From: Mathieu Desnoyers Date: Tue, 18 Feb 2020 00:31:41 +0000 (-0500) Subject: Fix: jhash.h: remove out-of-bound reads X-Git-Tag: v2.11.1~3 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=5938665d83cb964348bc4761abfd778ec5bd068d;hp=5938665d83cb964348bc4761abfd778ec5bd068d;p=lttng-ust.git Fix: jhash.h: remove out-of-bound reads jhash.h implements "special" code for valgrind because it reads memory out-of-bound (and then applies a mask) when reading strings. Considering that lttng-ust does not use jhash.h in a fast-path, remove this "optimization" and use the verifiable VALGRIND code instead. This fixes an ASan splat. Fixes: #1238 Signed-off-by: Mathieu Desnoyers ---