Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 99210
b: refs/heads/master
c: cea78dc
h: refs/heads/master
v: v3
  • Loading branch information
Eric Paris authored and James Morris committed Jul 14, 2008
1 parent b8aa8fc commit a92557d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bdd581c1439339f1d3e8446b83e0f1beaef294e9
refs/heads/master: cea78dc4ca044e9666e8f5d797ec50ab85253e49
2 changes: 1 addition & 1 deletion trunk/security/selinux/ss/services.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ static int context_struct_compute_av(struct context *scontext,
goto inval_class;
if (unlikely(tclass > policydb.p_classes.nprim))
if (tclass > kdefs->cts_len ||
!kdefs->class_to_string[tclass - 1] ||
!kdefs->class_to_string[tclass] ||
!policydb.allow_unknown)
goto inval_class;

Expand Down

0 comments on commit a92557d

Please sign in to comment.