Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LSM: SafeSetID: Stop releasing uninitialized ruleset
The first time a rule set is configured for SafeSetID, we shouldn't be trying to release the previously configured ruleset, since there isn't one. Currently, the pointer that would point to a previously configured ruleset is uninitialized on first rule set configuration, leading to a crash when we try to call release_ruleset with that pointer. Acked-by: Jann Horn <[email protected]> Signed-off-by: Micah Morton <[email protected]>
- Loading branch information