This is an automated email from the git hooks/post-receive script.
rharwood pushed a commit to branch master
in repository gssproxy.
commit 068f4174001c3ea4ae7913fb37210fec84abf1df
Author: Robbie Harwood <rharwood(a)redhat.com>
Date: Mon Sep 11 10:52:03 2017 -0400
Fix potential free of non-heap address
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 b50127a..4f31c0c 100644
--- a/proxy/src/client/gpm_common.c
+++ b/proxy/src/client/gpm_common.c
@@ -562,8 +562,8 @@ static int gpm_send_recv_loop(struct gpm_ctx *gpmctx, char
*send_buffer,
ret = gpm_retry_socket(gpmctx);
/* Free buffer and set it to NULL to prevent free(xdr_reply_ctx) */
- free(recv_buffer);
- recv_buffer = NULL;
+ free(*recv_buffer);
+ *recv_buffer = NULL;
if (ret != 0)
return ret;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.