diff options
author | Volker Lendecke <vl@samba.org> | 2008-01-17 17:17:52 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-01-17 17:22:31 +0100 |
commit | 9e3634fb63f6dec1a3c820a462b5f732e7d09206 (patch) | |
tree | a3fe34a65a945fbbf66b3bdcb92da30547f12e85 | |
parent | d1abd4d866b59fa67605fc469d6406a981455fbe (diff) | |
download | samba-9e3634fb63f6dec1a3c820a462b5f732e7d09206.tar.gz samba-9e3634fb63f6dec1a3c820a462b5f732e7d09206.tar.bz2 samba-9e3634fb63f6dec1a3c820a462b5f732e7d09206.zip |
Fix two uninitialized variables in vfs_hpuxacl.c
Thanks to David Leonard <David.Leonard@quest.com>, this fixes bug 5208.
Volker
(This used to be commit a3b36c3cb0fe5f3e78c200290afa59829934f496)
-rw-r--r-- | source3/modules/vfs_hpuxacl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_hpuxacl.c b/source3/modules/vfs_hpuxacl.c index e101886450..f9293405fb 100644 --- a/source3/modules/vfs_hpuxacl.c +++ b/source3/modules/vfs_hpuxacl.c @@ -140,7 +140,7 @@ SMB_ACL_T hpuxacl_sys_acl_get_file(vfs_handle_struct *handle, { SMB_ACL_T result = NULL; int count; - HPUX_ACL_T hpux_acl; + HPUX_ACL_T hpux_acl = NULL; DEBUG(10, ("hpuxacl_sys_acl_get_file called for file '%s'.\n", path_p)); @@ -213,7 +213,7 @@ int hpuxacl_sys_acl_set_file(vfs_handle_struct *handle, { int ret = -1; SMB_STRUCT_STAT s; - HPUX_ACL_T hpux_acl; + HPUX_ACL_T hpux_acl = NULL; int count; DEBUG(10, ("hpuxacl_sys_acl_set_file called for file '%s'\n", |