mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
Fix two uninitialized variables in vfs_hpuxacl.c
Thanks to David Leonard <David.Leonard@quest.com>, this fixes bug 5208. Volker
This commit is contained in:
parent
733e07a06c
commit
a3b36c3cb0
@ -140,7 +140,7 @@ SMB_ACL_T hpuxacl_sys_acl_get_file(vfs_handle_struct *handle,
|
|||||||
{
|
{
|
||||||
SMB_ACL_T result = NULL;
|
SMB_ACL_T result = NULL;
|
||||||
int count;
|
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",
|
DEBUG(10, ("hpuxacl_sys_acl_get_file called for file '%s'.\n",
|
||||||
path_p));
|
path_p));
|
||||||
@ -213,7 +213,7 @@ int hpuxacl_sys_acl_set_file(vfs_handle_struct *handle,
|
|||||||
{
|
{
|
||||||
int ret = -1;
|
int ret = -1;
|
||||||
SMB_STRUCT_STAT s;
|
SMB_STRUCT_STAT s;
|
||||||
HPUX_ACL_T hpux_acl;
|
HPUX_ACL_T hpux_acl = NULL;
|
||||||
int count;
|
int count;
|
||||||
|
|
||||||
DEBUG(10, ("hpuxacl_sys_acl_set_file called for file '%s'\n",
|
DEBUG(10, ("hpuxacl_sys_acl_set_file called for file '%s'\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user