6010084b6c
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/cifs-utils?expand=0&rev=51
22 lines
697 B
Diff
22 lines
697 B
Diff
Author: Lars Mueller <lmuelle@suse.com>
|
|
Subject: cifs-utils build warns bkupuid and bkupgid may be used uninitialized
|
|
Bugzilla: na
|
|
Upstream-Reported: http://permalink.gmane.org/gmane.linux.kernel.cifs/5931
|
|
Upstream-Acknowledged: Yes
|
|
|
|
Index: cifs-utils-5.4/mount.cifs.c
|
|
===================================================================
|
|
--- cifs-utils-5.4.orig/mount.cifs.c
|
|
+++ cifs-utils-5.4/mount.cifs.c
|
|
@@ -863,8 +863,8 @@ parse_options(const char *data, struct p
|
|
int got_uid = 0;
|
|
int got_cruid = 0;
|
|
int got_gid = 0;
|
|
- uid_t uid, cruid = 0, bkupuid;
|
|
- gid_t gid, bkupgid;
|
|
+ uid_t uid, cruid = 0, bkupuid = 0;
|
|
+ gid_t gid, bkupgid = 0;
|
|
char *ep;
|
|
struct passwd *pw;
|
|
struct group *gr;
|