We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6d6348 commit bd6b6d1Copy full SHA for bd6b6d1
proxy/src/gp_creds.c
@@ -411,9 +411,9 @@ static int gp_get_cred_environment(struct gp_call_ctx *gpcall,
411
return 0;
412
}
413
414
- /* allocate 1 more than in source, just in case we need to add
415
- * an internal client_keytab element */
416
- cs->elements = calloc(svc->krb5.store.count + 1,
+ /* allocate 2 more than in source, just in case we need to add
+ * an internal client_keytab element and ccache */
+ cs->elements = calloc(svc->krb5.store.count + 2,
417
sizeof(gss_key_value_element_desc));
418
if (!cs->elements) {
419
ret = ENOMEM;
0 commit comments