This is an automated email from the git hooks/post-receive script.
rharwood pushed a commit to branch master
in repository gssproxy.
commit 8ba0f42f06bc7d0ed68cb2eb3ef2794fc860ac2d
Author: Robbie Harwood <rharwood(a)redhat.com>
Date: Tue Sep 12 12:40:27 2017 -0400
Prevent uninitialized read in error path of XDR contexts
Signed-off-by: Robbie Harwood <rharwood(a)redhat.com>
Reviewed-by: Simo Sorce <simo(a)redhat.com>
Merges: #211
---
proxy/src/client/gpm_common.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/proxy/src/client/gpm_common.c b/proxy/src/client/gpm_common.c
index 4f31c0c..6103d71 100644
--- a/proxy/src/client/gpm_common.c
+++ b/proxy/src/client/gpm_common.c
@@ -665,8 +665,8 @@ int gpm_make_call(int proc, union gp_rpc_arg *arg, union gp_rpc_res
*res)
{
struct gpm_ctx *gpmctx;
gp_rpc_msg msg;
- XDR xdr_call_ctx;
- XDR xdr_reply_ctx;
+ XDR xdr_call_ctx = {0};
+ XDR xdr_reply_ctx = {0};
char *send_buffer = NULL;
char *recv_buffer = NULL;
uint32_t send_length;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.