Branch: refs/heads/release-2.4
Home: https://github.com/seccomp/libseccomp
Commit: c0a6e6fd15f74c429a0b74e0dfd4de5a29aabebd
https://github.com/seccomp/libseccomp/commit/c0a6e6fd15f74c429a0b74e0dfd4de5a29aabebd
Author: Paul Moore <[email protected]>
Date: 2020-06-27 (Sat, 27 Jun 2020)
Changed paths:
M src/gen_bpf.c
Log Message:
-----------
bpf: don't return a bogus pointer when gen_bpf_generate() fails
In the case where gen_bpf_generate() fails due to a
_gen_bpf_build_bpf() failure we were returning a pointer to a BPF
program block which we had already freed - oops. Thankfully the
fix is trivial.
Special thanks to Tudor Brindus for not only reporting the problem
but providing a very detailed root cause analysis.
Reported-by: Tudor Brindus <[email protected]>
Acked-by: Tom Hromatka <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
--
You received this message because you are subscribed to the Google Groups
"libseccomp" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/libseccomp/seccomp/libseccomp/push/refs/heads/release-2.4/0d2996-c0a6e6%40github.com.