diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2001-01-09 05:42:31 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2001-01-09 05:42:31 +0000 |
| commit | 5db6984b120b62307be2b7a4284f5c4a6867df71 (patch) | |
| tree | b210c8563f7867b8f6e8a6456df4ee23d04dc74e /lib/libc/posix1e/acl_init.c | |
| parent | 695bf79c7cc6a717dc287ed6a9a53d841bdb3cee (diff) | |
Notes
Diffstat (limited to 'lib/libc/posix1e/acl_init.c')
| -rw-r--r-- | lib/libc/posix1e/acl_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/posix1e/acl_init.c b/lib/libc/posix1e/acl_init.c index c2fa43b8ab3b..cf7d908c555f 100644 --- a/lib/libc/posix1e/acl_init.c +++ b/lib/libc/posix1e/acl_init.c @@ -47,7 +47,8 @@ acl_init(int count) } acl = (struct acl *) malloc(sizeof(struct acl)); - bzero(acl, sizeof(struct acl)); + if (acl != NULL) + bzero(acl, sizeof(struct acl)); return (acl); } |
