diff options
author | Amrita Sadhukhan <Amrita.Sadhukhan@Sun.COM> | 2010-07-20 14:19:58 +0530 |
---|---|---|
committer | Amrita Sadhukhan <Amrita.Sadhukhan@Sun.COM> | 2010-07-20 14:19:58 +0530 |
commit | 0c0a6af62832d15ce7ec0abc5a8b5c3747f0980c (patch) | |
tree | 561f3c8e65f3f7e81a0ac92644ba8cadb4afac34 /usr/src/cmd/setfacl/setfacl.c | |
parent | 5dd46ab5742d7db1cbb08dec7b64fa14930c02f7 (diff) | |
download | illumos-gate-0c0a6af62832d15ce7ec0abc5a8b5c3747f0980c.tar.gz |
6749418 setfacl Causes a Bus Error
Diffstat (limited to 'usr/src/cmd/setfacl/setfacl.c')
-rw-r--r-- | usr/src/cmd/setfacl/setfacl.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/src/cmd/setfacl/setfacl.c b/usr/src/cmd/setfacl/setfacl.c index e9fb1896a9..54e7fa6d2c 100644 --- a/usr/src/cmd/setfacl/setfacl.c +++ b/usr/src/cmd/setfacl/setfacl.c @@ -19,8 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2009 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. + * Copyright (c) 1993, 2010, Oracle and/or its affiliates. All rights reserved. */ /* @@ -407,7 +406,7 @@ convert_to_aclent_t(char *entryp, int *cntp, aclent_t **aclpp, int mode) { aclent_t *new_aclp; aclent_t tmpacl; - aclent_t *taclp, *centry, *gentry; + aclent_t *taclp, *centry = NULL, *gentry = NULL; int cur_cnt; int found = 0; int is_obj; |