trace: preload: avoid NULL-dereference here as well
authorDaniel Golle <daniel@makrotopia.org>
Mon, 30 Aug 2021 23:44:29 +0000 (00:44 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 30 Aug 2021 23:46:59 +0000 (00:46 +0100)
commit269c9e4c7e5b6a726712abf939255980f03266c5
tree34664971de1833c56dcc649a0d7e1646ebab24b8
parentf5fe04b93a2131bd57f34f4d526e57933caa8a4c
trace: preload: avoid NULL-dereference here as well

Fix potential NULL-pointer derefence in trace/preload.c similar to how
it was fixed in jail/preload.c by commit b824a89
("jail: preload: avoid NULL-dereference in case things go wrong").

Coverity CID: 1446096 Dereference after null check
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
trace/preload.c