]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: debug: don't check the call date on tasklets
authorWilly Tarreau <w@1wt.eu>
Fri, 17 May 2019 12:14:35 +0000 (14:14 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 17 May 2019 15:16:20 +0000 (17:16 +0200)
commit20db9115dcdf07c00c59731f2e14275d67ebf747
tree39a493713da5022c7598137b77eb9ea40874ffaa
parent5cf64dd1bd20ba4a2870e09ff8c91997451f95b5
BUG/MINOR: debug: don't check the call date on tasklets

tasklets don't have a call date, so when a tasklet is cast into a task
and is present at the end of a page we run a risk of dereferencing
unmapped memory when dumping them in ha_task_dump(). This commit
simplifies the test and uses to distinct calls for tasklets and tasks.
No backport is needed.
src/debug.c