The Samba-Bugzilla – Attachment 17252 Details for
Bug 15027
Uninitialized litemask in variable in vfs_gpfs module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 4.15
patch-4.15 (text/plain), 1.62 KB, created by
Christof Schmitt
on 2022-03-28 14:06:56 UTC
(
hide
)
Description:
Patch for 4.15
Filename:
MIME Type:
Creator:
Christof Schmitt
Created:
2022-03-28 14:06:56 UTC
Size:
1.62 KB
patch
obsolete
>From a7a55d8cbe49d15daa690d7f09203dcb93518345 Mon Sep 17 00:00:00 2001 >From: Christof Schmitt <cs@samba.org> >Date: Mon, 21 Mar 2022 09:26:41 -0700 >Subject: [PATCH] vfs_gpfs: Initialize litemask to 0 >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >The change from commit fb13c7c94f to query exact values for atime, >mtime, ctime and size is not necessary, as none of these are used in >this codepath. Initiale litemask to 0 instead. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=15027 > >Signed-off-by: Christof Schmitt <cs@samba.org> >Reviewed-by: Ralph Boehme <slow@samba.org> > >Autobuild-User(master): Ralph Böhme <slow@samba.org> >Autobuild-Date(master): Mon Mar 28 09:10:58 UTC 2022 on sn-devel-184 > >(cherry picked from commit 127f728d58e79a42f8826500e3b15c486e88e556) >--- > source3/modules/vfs_gpfs.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c >index 4d1cfa6075a..70b8c7b903e 100644 >--- a/source3/modules/vfs_gpfs.c >+++ b/source3/modules/vfs_gpfs.c >@@ -1478,7 +1478,7 @@ static NTSTATUS vfs_gpfs_fget_dos_attributes(struct vfs_handle_struct *handle, > char buf[PATH_MAX]; > const char *p = NULL; > struct gpfs_iattr64 iattr = { }; >- unsigned int litemask; >+ unsigned int litemask = 0; > struct timespec ts; > uint64_t file_id; > NTSTATUS status; >@@ -1984,7 +1984,7 @@ static int vfs_gpfs_check_pathref_fstat_x(struct gpfs_config_data *config, > struct connection_struct *conn) > { > struct gpfs_iattr64 iattr = {0}; >- unsigned int litemask; >+ unsigned int litemask = 0; > int saved_errno; > int fd; > int ret; >-- >2.27.0 >
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
Flags:
slow
:
review+
Actions:
View
Attachments on
bug 15027
:
17250
|
17251
| 17252