This is an automated email from the git hooks/post-receive script.
simo pushed a commit to branch master
in repository gssproxy.
commit 54171b1aa2d4c51b57dca80fd6f8e4cb072b52e6
Author: Robbie Harwood <rharwood(a)redhat.com>
Date: Fri Sep 23 18:42:26 2016 +0000
Fix NULL deref in gssi_release_name()
Signed-off-by: Robbie Harwood <rharwood(a)redhat.com>
Reviewed-by: Simo Sorce <simo(a)redhat.com>
---
proxy/src/mechglue/gpp_import_and_canon_name.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/proxy/src/mechglue/gpp_import_and_canon_name.c
b/proxy/src/mechglue/gpp_import_and_canon_name.c
index 7842bcc..745be20 100644
--- a/proxy/src/mechglue/gpp_import_and_canon_name.c
+++ b/proxy/src/mechglue/gpp_import_and_canon_name.c
@@ -253,7 +253,7 @@ OM_uint32 gssi_release_name(OM_uint32 *minor_status,
GSSI_TRACE();
name = (struct gpp_name_handle *)*input_name;
- if (!name->local && !name->remote) {
+ if (!name || (!name->local && !name->remote)) {
return GSS_S_BAD_NAME;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.