Branch: refs/heads/master
Home: https://github.com/seccomp/libseccomp
Commit: 6646e21ed2734dca355c5b550cb45f0379330e02
https://github.com/seccomp/libseccomp/commit/6646e21ed2734dca355c5b550cb45f0379330e02
Author: Tom Hromatka <[email protected]>
Date: 2018-09-19 (Wed, 19 Sep 2018)
Changed paths:
M src/gen_pfc.c
M tests/38-basic-pfc_coverage.c
Log Message:
-----------
pfc: fix PFC export hang on prioritized syscall with no rules (GH issue #117)
github user @varqox reported that generating PFC will hang if the
libseccomp filter contains a syscalle with a priority but no rule
set. The root cause is the while() loop in gen_pfc.c that walks
through the filter's syscalls. It wasn't properly advancing
through the list when p_iter was invalid.
Signed-off-by: Tom Hromatka <[email protected]>
[PM: fix a comment in the test]
Signed-off-by: Paul Moore <[email protected]>
**NOTE:** This service has been marked for deprecation:
https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
--
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.