From: Mathieu Desnoyers Date: Tue, 18 Feb 2020 00:31:41 +0000 (-0500) Subject: Fix: jhash.h: remove out-of-bound reads X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=ec9e040d128545d43b7d29106b70581bca42b1c3;hp=ec9e040d128545d43b7d29106b70581bca42b1c3;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 ---