The Samba-Bugzilla – Attachment 4225 Details for
Bug 6425
Init pointers as null before using
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
the diff file for vfs
vfshp.diff (text/plain), 1.08 KB, created by
Zhou Weikuan
on 2009-06-01 01:51:20 UTC
(
hide
)
Description:
the diff file for vfs
Filename:
MIME Type:
Creator:
Zhou Weikuan
Created:
2009-06-01 01:51:20 UTC
Size:
1.08 KB
patch
obsolete
>diff --git a/source3/modules/vfs_hpuxacl.c b/source3/modules/vfs_hpuxacl.c >index f929340..cb57482 100644 >--- a/source3/modules/vfs_hpuxacl.c >+++ b/source3/modules/vfs_hpuxacl.c >@@ -255,7 +255,7 @@ int hpuxacl_sys_acl_set_file(vfs_handle_struct *handle, > if (S_ISDIR(s.st_mode)) { > HPUX_ACL_T other_acl; > int other_count; >- SMB_ACL_TYPE_T other_type; >+ SMB_ACL_TYPE_T other_type = NULL; > > other_type = (type == SMB_ACL_TYPE_ACCESS) > ? SMB_ACL_TYPE_DEFAULT >@@ -349,9 +349,9 @@ int hpuxacl_sys_acl_set_fd(vfs_handle_struct *handle, > int hpuxacl_sys_acl_delete_def_file(vfs_handle_struct *handle, > const char *path) > { >- SMB_ACL_T smb_acl; >+ SMB_ACL_T smb_acl = NULL; > int ret = -1; >- HPUX_ACL_T hpux_acl; >+ HPUX_ACL_T hpux_acl = NULL; > int count; > > DEBUG(10, ("entering hpuxacl_sys_acl_delete_def_file.\n")); >@@ -486,7 +486,7 @@ static bool smb_acl_to_hpux_acl(SMB_ACL_T smb_acl, > static SMB_ACL_T hpux_acl_to_smb_acl(HPUX_ACL_T hpux_acl, int count, > SMB_ACL_TYPE_T type) > { >- SMB_ACL_T result; >+ SMB_ACL_T result = NULL; > int i; > > if ((result = sys_acl_init(0)) == NULL) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6425
: 4225