summaryrefslogtreecommitdiff
path: root/src/til_util.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2023-01-21 11:04:39 -0800
committerVito Caputo <vcaputo@pengaru.com>2023-01-21 13:34:12 -0800
commit9c5d17309be237f799105e252a26e2c32c2d9c50 (patch)
tree1aaf085eec9480a979a45c3e75c2acca18651033 /src/til_util.c
parent54c35f22204982eef4eb606d0bf58ea945a2c0b5 (diff)
til_stream: teardown pipes when the driving_tap's owner matches
The driving tap's owner and pipe's owner are decoupled. When tearing down an owner from a stream, any pipes its taps are driving should also just go away. Otherwise its taps could linger on pipes it doesn't own, which would be a UAF bug. If the pipe is still needed, it'll just get recreated by another tap. So there's a small perf hit, but this shouldn't be a continuos kind of occurrence.
Diffstat (limited to 'src/til_util.c')
0 files changed, 0 insertions, 0 deletions
© All Rights Reserved