[GH-ISSUE #117] profile.c b0rked logic #73

Closed
opened 2026-05-05 04:57:27 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @ghost on GitHub (Nov 4, 2015).
Original GitHub issue: https://github.com/netblue30/firejail/issues/117

https://github.com/netblue30/firejail/blob/master/src/firejail/profile.c#L133-L144

Note: Anything that matches "netfilter " will have already been matched by "netfilter", as such any custom netfilter file specified in a profile will never be loaded.

Originally created by @ghost on GitHub (Nov 4, 2015). Original GitHub issue: https://github.com/netblue30/firejail/issues/117 https://github.com/netblue30/firejail/blob/master/src/firejail/profile.c#L133-L144 Note: Anything that matches "netfilter " will have _already_ been matched by "netfilter", as such any custom netfilter file specified in a profile will never be loaded.
Author
Owner

@netblue30 commented on GitHub (Nov 4, 2015):

No, the first test is strcmp, the second is strncmp. It should work fine.

<!-- gh-comment-id:153712506 --> @netblue30 commented on GitHub (Nov 4, 2015): No, the first test is strcmp, the second is strncmp. It should work fine.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#73
No description provided.