git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
446791c
)
s3: Fix Coverity ID 241961 Uninitialized scalar variable
author
Volker Lendecke
<vl@samba.org>
Wed, 9 May 2012 08:59:49 +0000
(10:59 +0200)
committer
Volker Lendecke
<vl@samba.org>
Thu, 10 May 2012 07:11:57 +0000
(09:11 +0200)
source3/rpcclient/cmd_spoolss.c
patch
|
blob
|
history
diff --git
a/source3/rpcclient/cmd_spoolss.c
b/source3/rpcclient/cmd_spoolss.c
index 418ad3bcfbb0444d6a0f5994b7e245d1107705ae..2394e22c55d8eaaf40515d1691a1f743e8c93608 100644
(file)
--- a/
source3/rpcclient/cmd_spoolss.c
+++ b/
source3/rpcclient/cmd_spoolss.c
@@
-2614,6
+2614,8
@@
static WERROR cmd_spoolss_setprinterdata(struct rpc_pipe_client *cli,
int i, num_strings;
const char **strings = NULL;
+ num_strings = 0;
+
for (i=4; i<argc; i++) {
if (strcmp(argv[i], "NULL") == 0) {
argv[i] = "";