summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e/acl_entry.c
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2015-09-11 17:20:03 +0000
committerdim <dim@FreeBSD.org>2015-09-11 17:20:03 +0000
commit5cc32d7f18f18fb3a5f4155b7f748cc7be60d2da (patch)
tree09add9017de3c98451b1eaf85a24b608cf228e4b /lib/libc/posix1e/acl_entry.c
parenta8fd1565ce9f3593ba962863828175715c3dede0 (diff)
parent2a0c9817c795eaf2bf7607d8cc9b36975aaca160 (diff)
downloadFreeBSD-src-5cc32d7f18f18fb3a5f4155b7f748cc7be60d2da.zip
FreeBSD-src-5cc32d7f18f18fb3a5f4155b7f748cc7be60d2da.tar.gz
Merge ^/head r287527 through r287679.
Diffstat (limited to 'lib/libc/posix1e/acl_entry.c')
-rw-r--r--lib/libc/posix1e/acl_entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/posix1e/acl_entry.c b/lib/libc/posix1e/acl_entry.c
index 3f8ca62..2cffaa3 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);
}
OpenPOWER on IntegriCloud