|
|
09e69a |
commit a013336ecdc476d7357398d9cd24b114070bb767
|
|
|
09e69a |
Author: Rosen Penev <rosenp@gmail.com>
|
|
|
09e69a |
Date: Tue Oct 25 12:34:56 2022 -0400
|
|
|
09e69a |
|
|
|
09e69a |
Add missing extern
|
|
|
09e69a |
|
|
|
09e69a |
Fixes compilation warning.
|
|
|
09e69a |
|
|
|
09e69a |
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|
|
09e69a |
Signed-off-by: Steve Dickson <steved@redhat.com>
|
|
|
09e69a |
|
|
|
09e69a |
diff --git a/src/svc_auth.c b/src/svc_auth.c
|
|
|
09e69a |
index ce8bbd8..789d6af 100644
|
|
|
09e69a |
--- a/src/svc_auth.c
|
|
|
09e69a |
+++ b/src/svc_auth.c
|
|
|
09e69a |
@@ -66,6 +66,9 @@ static struct authsvc *Auths = NULL;
|
|
|
09e69a |
|
|
|
09e69a |
extern SVCAUTH svc_auth_none;
|
|
|
09e69a |
|
|
|
09e69a |
+#ifdef AUTHDES_SUPPORT
|
|
|
09e69a |
+extern enum auth_stat _svcauth_des(struct svc_req *rqst, struct rpc_msg *msg);
|
|
|
09e69a |
+#endif
|
|
|
09e69a |
/*
|
|
|
09e69a |
* The call rpc message, msg has been obtained from the wire. The msg contains
|
|
|
09e69a |
* the raw form of credentials and verifiers. authenticate returns AUTH_OK
|
|
|
09e69a |
|
|
|
09e69a |
commit 55526c52a449907e4d34b829b96141afab530b23
|
|
|
09e69a |
Author: Zhi Li <yieli@redhat.com>
|
|
|
09e69a |
Date: Mon Oct 24 13:46:54 2022 -0400
|
|
|
09e69a |
|
|
|
09e69a |
bindresvport.c: fix a potential resource leakage
|
|
|
09e69a |
|
|
|
09e69a |
Close the FILE *fp of load_blacklist() in another
|
|
|
09e69a |
return path to avoid potential resource leakage.
|
|
|
09e69a |
|
|
|
09e69a |
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2135405
|
|
|
09e69a |
Signed-off-by: Zhi Li <yieli@redhat.com>
|
|
|
09e69a |
Signed-off-by: Steve Dickson <steved@redhat.com>
|
|
|
09e69a |
|
|
|
09e69a |
diff --git a/src/bindresvport.c b/src/bindresvport.c
|
|
|
09e69a |
index 5c0ddcf..efeb1cc 100644
|
|
|
09e69a |
--- a/src/bindresvport.c
|
|
|
09e69a |
+++ b/src/bindresvport.c
|
|
|
09e69a |
@@ -130,6 +130,7 @@ load_blacklist (void)
|
|
|
09e69a |
if (list == NULL)
|
|
|
09e69a |
{
|
|
|
09e69a |
free (buf);
|
|
|
09e69a |
+ fclose (fp);
|
|
|
09e69a |
return;
|
|
|
09e69a |
}
|
|
|
09e69a |
}
|