summaryrefslogtreecommitdiffstats
path: root/src/conffile.c
diff options
context:
space:
mode:
authorCorubba Smith <corubba@gmx.de>2025-03-08 22:37:28 +0100
committerFlorian Westphal <fw@strlen.de>2025-03-11 21:40:45 +0100
commit33e19497f4ad88bcf08e10ac51c3ed091f60c9dc (patch)
tree66ae5a9f608c66e602872112bd2bf1f8f698c369 /src/conffile.c
parente318d352b1085ec55b998c501d67d758dfa74a1f (diff)
ulogd: ignore private data on plugin stop
When deciding whether to call the stop hook of a plugin instance, only two things are relevant: If the plugin actually has a stop hook defined, and if the plugin instance is still used in a different stack. The private data of a plugin instance is opaque to ulogd, so its size or content are irrelevant to the stop-hook decision. And in the same vein should ulogd never write to it. The one-null-byte write could previously lead to an out-of-bounds write on plugins with a stop hook and zero-size private data. Signed-off-by: Corubba Smith <corubba@gmx.de> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/conffile.c')
0 files changed, 0 insertions, 0 deletions