]> git.kaiwu.me - haproxy.git/commit
BUG/MINOR: haload: fix use-after-free upon updating task expiration
authorFrederic Lecaille <flecaille@haproxy.com>
Tue, 21 Jul 2026 13:09:20 +0000 (15:09 +0200)
committerFrederic Lecaille <flecaille@haproxy.com>
Thu, 23 Jul 2026 13:47:07 +0000 (15:47 +0200)
commit38c790cac3ebf306bb743e119e99f7fbf5156f0d
tree1362327763dd6899147d27e4119328d658cd3f44
parent7e3a848409d96a8decc475aab8c2555399793068
BUG/MINOR: haload: fix use-after-free upon updating task expiration

Fix a bug in hld_strm_task() where hs was accessed after it had already been
freed via hldstream_free(&hs). The task expiration update and queueing
now safely rely on <usr> rather than <hs->usr>.
src/haload.c