diff options
author | Tom Hromatka <tom.hromatka@oracle.com> | 2018-05-15 07:56:56 -0600 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2018-09-19 16:29:13 -0400 |
commit | 6646e21ed2734dca355c5b550cb45f0379330e02 (patch) | |
tree | 5b2a613f01a53c67485b6e967e91835dbc853216 /doc | |
parent | 0f589d156617af715850537e5413ea516ec3e534 (diff) | |
download | libseccomp-6646e21ed2734dca355c5b550cb45f0379330e02.tar.gz |
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 <tom.hromatka@oracle.com>
[PM: fix a comment in the test]
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions