commit | 62975a7740cba4bdaf1c096dd246feba854d2410 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <cognet@ci0.org> | Sun Oct 21 01:33:11 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Sun Oct 21 05:43:33 2018 +0200 |
tree | 07b48ce8c0b67ac419b2641e7e54c6d0cdccf251 | |
parent | 4e7cc3381b27e3971b02b73a113ecc13916e1f20 [diff] |
BUG/MEDIUM: pools: Fix the usage of mmap()) with DEBUG_UAF. When mapping memory with mmap(), we should use a fd of -1, not 0. 0 may work on linux, but it doesn't work on FreeBSD, and probably other OSes. It would be nice to backport this to 1.8 to help debugging there.