jail: return to hook callback instead of just calling it
authorDaniel Golle <daniel@makrotopia.org>
Mon, 23 Aug 2021 16:41:57 +0000 (17:41 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 24 Aug 2021 17:31:31 +0000 (18:31 +0100)
commit0603c8d5b0039d28ba1ac6ce64a6a5814aa0bf24
tree9aaaf2a6d5815be2bd91872ace96789debb9dba9
parent7f2398e789168d0b5853a52958a22403c513bf65
jail: return to hook callback instead of just calling it

Avoid stack pollution and potentially worse things.

Coverity CID: 1490056 Dereference after null check

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
jail/jail.c