From: Mathieu Desnoyers Date: Wed, 12 Dec 2018 22:24:11 +0000 (-0500) Subject: Fix: do not repurpose iterator while it is being used X-Git-Tag: v2.12.0-rc1~676 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=a5d64ae7893cc1d2b595614a8f8e3d03c401cf39;hp=a5d64ae7893cc1d2b595614a8f8e3d03c401cf39 Fix: do not repurpose iterator while it is being used The hash table iteration uses an iterator that needs to stay valid for the next loop. Using that same iterator variable in a nested lookup in a different hash table leads to segmentation fault. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau ---