diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2015-09-08 14:52:14 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2015-09-08 14:52:14 +0000 |
commit | 45d55945fd774d6ef189628310d828a0e67d81c5 (patch) | |
tree | 994ab8dce8dd6d255f9120f1efc2c56f7c11964c | |
parent | e945651a905b030c68ca38dbccf245edf3d24aad (diff) |
Notes
-rw-r--r-- | lib/libc/posix1e/acl_entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/posix1e/acl_entry.c b/lib/libc/posix1e/acl_entry.c index 3f8ca62c8b00..2cffaa33d54c 100644 --- a/lib/libc/posix1e/acl_entry.c +++ b/lib/libc/posix1e/acl_entry.c @@ -91,7 +91,7 @@ acl_create_entry_np(acl_t *acl_p, acl_entry_t *entry_p, int offset) return (-1); } - if (offset < 0 || offset >= acl_int->acl_cnt) { + if (offset < 0 || offset > acl_int->acl_cnt) { errno = EINVAL; return (-1); } |