commit | 51e474136b6c53a64486a60251a33cce85662b57 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <cognet@ci0.org> | Sun Dec 16 00:58:28 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Dec 16 08:15:16 2018 +0100 |
tree | b29fcd86691d501b078dc2b89a3df1392fd2992f | |
parent | efef3237834e9e855d25dcead8f7dae66ac3084f [diff] |
MINOR: pools: Cast to volatile int * instead of int *. When using DEBUG_MEMORY_POOLS, when we want to crash, instead of using *(int *)0 = 0, use *(volatile int *)0 = 0, or clang will just translate it to a nop, instead of dereferencing 0.