Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
idnode: fix nasty idnode access check bug
  • Loading branch information
perexg committed Oct 8, 2015
1 parent 2c9b5b2 commit a32692e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/idnode.c
Expand Up @@ -563,7 +563,7 @@ idnode_perm(idnode_t *self, struct access *a, htsmsg_t *msg_to_write)
if (ic->ic_perm)
r = self->in_class->ic_perm(self, a, msg_to_write);
else if (ic->ic_perm_def)
r = access_verify2(a, self->in_class->ic_perm_def);
r = access_verify2(a, ic->ic_perm_def);
else {
ic = ic->ic_super;
continue;
Expand Down

0 comments on commit a32692e

Please sign in to comment.