2012-04-19 19:32:39 +02:00
|
|
|
Author: Lars Mueller <lmuelle@suse.com>
|
|
|
|
Subject: cifs-utils build warns bkupuid and bkupgid may be used uninitialized
|
|
|
|
Bugzilla: na
|
2012-04-19 20:30:14 +02:00
|
|
|
Upstream-Reported: http://permalink.gmane.org/gmane.linux.kernel.cifs/5931
|
|
|
|
Upstream-Acknowledged: Yes
|
2012-04-19 19:32:39 +02:00
|
|
|
|
|
|
|
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;
|