diff options
author | Volker Lendecke <vl@samba.org> | 2008-03-23 19:43:36 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-03-23 19:44:55 +0100 |
commit | e9ba13bc67576aa70694ce54ca70aef4375ebe13 (patch) | |
tree | 3d60d3a5155149964843a7e9732735ca33d5c679 | |
parent | dc014a0b103cf3fcefe72daace142acef16b9f4c (diff) | |
download | samba-e9ba13bc67576aa70694ce54ca70aef4375ebe13.tar.gz samba-e9ba13bc67576aa70694ce54ca70aef4375ebe13.tar.bz2 samba-e9ba13bc67576aa70694ce54ca70aef4375ebe13.zip |
Fix Coverity ID 514
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)
-rw-r--r-- | source3/rpc_server/srv_pipe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c index f33ee88aec..05cdb65a83 100644 --- 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")); |