git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc014a0
)
Fix Coverity ID 514
author
Volker Lendecke
<vl@samba.org>
Sun, 23 Mar 2008 18:43:36 +0000
(19:43 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sun, 23 Mar 2008 18:44:55 +0000
(19:44 +0100)
Not exactly an uninitialized variable, but having Coverity figure out that
we're only UNMARSHALLING here is probably asking for a bit too much.
(This used to be commit
07a9f7daa83c94afefe0d81db4812135121862c2
)
source3/rpc_server/srv_pipe.c
patch
|
blob
|
history
diff --git
a/source3/rpc_server/srv_pipe.c
b/source3/rpc_server/srv_pipe.c
index f33ee88aec4e57dcc57c7d87734bc5c6c5f03e8d..05cdb65a8317cba332852a8f91218bfd3bdf4f80 100644
(file)
--- a/
source3/rpc_server/srv_pipe.c
+++ b/
source3/rpc_server/srv_pipe.c
@@
-1593,6
+1593,8
@@
bool api_pipe_bind_req(pipes_struct *p, prs_struct *rpc_in_p)
}
}
+ ZERO_STRUCT(hdr_rb);
+
/* decode the bind request */
if(!smb_io_rpc_hdr_rb("", &hdr_rb, rpc_in_p, 0)) {
DEBUG(0,("api_pipe_bind_req: unable to unmarshall RPC_HDR_RB struct.\n"));