X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=meta-starlingx%2Fmeta-stx-distro%2Frecipes-security%2Fgssproxy%2Ffiles%2FDon-t-leak-mech_type-when-CONTINUE_NEEDED-from-init_.patch;fp=meta-starlingx%2Fmeta-stx-distro%2Frecipes-security%2Fgssproxy%2Ffiles%2FDon-t-leak-mech_type-when-CONTINUE_NEEDED-from-init_.patch;h=0000000000000000000000000000000000000000;hb=6fc6934434f70595536a387ece31bc30141cafb5;hp=bcad8ca7b723bfef414eaf8336c842e32d001458;hpb=eb1e26510491ba49de693ab3b0498edcb06be6c5;p=pti%2Frtp.git diff --git a/meta-starlingx/meta-stx-distro/recipes-security/gssproxy/files/Don-t-leak-mech_type-when-CONTINUE_NEEDED-from-init_.patch b/meta-starlingx/meta-stx-distro/recipes-security/gssproxy/files/Don-t-leak-mech_type-when-CONTINUE_NEEDED-from-init_.patch deleted file mode 100644 index bcad8ca..0000000 --- a/meta-starlingx/meta-stx-distro/recipes-security/gssproxy/files/Don-t-leak-mech_type-when-CONTINUE_NEEDED-from-init_.patch +++ /dev/null @@ -1,27 +0,0 @@ -From dd1699810efe933858badce463bece239d19e886 Mon Sep 17 00:00:00 2001 -From: Alexander Scheel -Date: Tue, 8 Aug 2017 11:36:56 -0400 -Subject: [PATCH] Don't leak mech_type when CONTINUE_NEEDED from - init_sec_context - -Signed-off-by: Alexander Scheel -Reviewed-by: Simo Sorce -Reviewed-by: Robbie Harwood -Merges: #207 -(cherry picked from commit ca26c0f58ac961a16b06c3fb93b985d574116b2c) ---- - proxy/src/gp_export.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/proxy/src/gp_export.c b/proxy/src/gp_export.c -index 0c39045..c9f5fd4 100644 ---- a/proxy/src/gp_export.c -+++ b/proxy/src/gp_export.c -@@ -687,6 +687,7 @@ export: - case EXP_CTX_PARTIAL: - /* this happens only when a init_sec_context call returns a partially - * initialized context so we return only what we have, not much */ -+ xdr_free((xdrproc_t)xdr_gssx_OID, (char *)&out->mech); - ret = gp_conv_oid_to_gssx(mech, &out->mech); - if (ret) { - ret_maj = GSS_S_FAILURE;