summaryrefslogtreecommitdiffstats
path: root/recipes-security/libgssglue/files/libgssglue-gss-inq-cred.patch
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2022-09-25 13:27:39 -0400
committerArmin Kuster <akuster808@gmail.com>2022-09-25 13:37:57 -0400
commitb29ce7d47d8024151177113221bf87dbd07b9c41 (patch)
treee018316d5fee8336d53285e34b6b595f06b78d21 /recipes-security/libgssglue/files/libgssglue-gss-inq-cred.patch
parent852daaf67b4f548beca959dea10baf6a20ffad6a (diff)
downloadmeta-security-b29ce7d47d8024151177113221bf87dbd07b9c41.tar.gz
libgssglue: update to 0.7
LIC_FILE_CHKSUM changes to to indentations changes. use bootstrap to setup config properly. Drop libgssglue-fix-CVE-2011-2709.patch, libgssglue-g-initialize.patch now included in update. and ibgssglue-mglueP.patch now included in update. Drop libgssglue-gss-inq-cred.patch still pending after 5 yrs. Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-security/libgssglue/files/libgssglue-gss-inq-cred.patch')
-rw-r--r--recipes-security/libgssglue/files/libgssglue-gss-inq-cred.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/recipes-security/libgssglue/files/libgssglue-gss-inq-cred.patch b/recipes-security/libgssglue/files/libgssglue-gss-inq-cred.patch
deleted file mode 100644
index 6dce3e7..0000000
--- a/recipes-security/libgssglue/files/libgssglue-gss-inq-cred.patch
+++ /dev/null
@@ -1,27 +0,0 @@
11) add free if malloc failed for (*mechanisms)->elements
22) g_inq_cred.c: In function 'gss_inquire_cred':
3g_inq_cred.c:161:8: warning: passing argument 3 of 'generic_gss_copy_oid' from incompatible pointer type [enabled by default]
4
5Upstream-Status: Pending
6Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
7
8--- a/src/g_inq_cred.c
9+++ b/src/g_inq_cred.c
10@@ -152,13 +152,15 @@ gss_OID_set * mechanisms;
11 union_cred->count);
12 if ((*mechanisms)->elements == NULL) {
13 *minor_status = ENOMEM;
14+ free(*mechanisms);
15+ *mechanisms = GSS_C_NO_OID_SET;
16 return (GSS_S_FAILURE);
17 }
18
19 for (i=0; i < union_cred->count; i++) {
20- status = generic_gss_copy_oid(minor_status,
21+ status = generic_gss_add_oid_set_member(minor_status,
22 &union_cred->mechs_array[i],
23- &((*mechanisms)->elements[i]));
24+ mechanisms);
25 if (status != GSS_S_COMPLETE)
26 break;
27 }