This commit completes the incomplete segmentation fault fix in commit ac1f3ed64b. Likewise it must be backported to haproxy 1.8.
ac1f3ed64b