This is an automated email from the git hooks/post-receive script.
simo pushed a commit to branch master
in repository gssproxy.
commit fca9a5adb76622015bb64d03b038ccdbf4525010
Author: Robbie Harwood <rharwood(a)redhat.com>
Date: Fri Sep 23 18:42:31 2016 +0000
Fix NULL deref in gssi_release_cred()
Signed-off-by: Robbie Harwood <rharwood(a)redhat.com>
Reviewed-by: Simo Sorce <simo(a)redhat.com>
Merges 32
---
proxy/src/mechglue/gpp_creds.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/proxy/src/mechglue/gpp_creds.c b/proxy/src/mechglue/gpp_creds.c
index ff1dfda..2818dd7 100644
--- a/proxy/src/mechglue/gpp_creds.c
+++ b/proxy/src/mechglue/gpp_creds.c
@@ -529,7 +529,9 @@ OM_uint32 gssi_release_cred(OM_uint32 *minor_status,
GSSI_TRACE();
- if (*cred_handle == GSS_C_NO_CREDENTIAL) {
+ if (cred_handle == NULL) {
+ return GSS_S_NO_CRED | GSS_S_CALL_INACCESSIBLE_READ;
+ } else if (*cred_handle == GSS_C_NO_CREDENTIAL) {
*minor_status = 0;
return GSS_S_COMPLETE;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.