Skip to contentSkip to conversation

rpc.gssd: munmap_chunk(): invalid pointer

PATCH In review Steve Dickson 1 participant 2 messages Aug 31, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rpc.gssd: munmap_chunk(): invalid pointer

Removed an errant call to gss_release_oid()
to try and deal with memory leaks

---
 utils/gssd/gssd_proc.c | 1 -
 1 file changed, 1 deletion(-)
utils/gssd/gssd_proc.c +0 -1
index 2a8b618..e830f49 100644
@@ -687,7 +687,6 @@ process_krb5_upcall(struct clnt_info *clp, uid_t uid, int fd, char *srchost,
 	} else {
 		get_hostbased_client_buffer(gacceptor, mech, &acceptor);
 		gss_release_name(&min_stat, &gacceptor);
-		gss_release_oid(&min_stat, &mech);
 	}
 
 	/*
Signature · 1 line
2.26.2
#1 lore raw
Quoted 4 lines · Steve Dickson

Removed an errant call to gss_release_oid()
to try and deal with memory leaks

Committed... (tag: nfs-utils-2-5-2-rc4)

steved.

Quoted 17 lines
---
 utils/gssd/gssd_proc.c | 1 -
 1 file changed, 1 deletion(-)
utils/gssd/gssd_proc.c +0 -1
index 2a8b618..e830f49 100644
@@ -687,7 +687,6 @@ process_krb5_upcall(struct clnt_info *clp, uid_t uid, int fd, char *srchost,
 	} else {
 		get_hostbased_client_buffer(gacceptor, mech, &acceptor);
 		gss_release_name(&min_stat, &gacceptor);
-		gss_release_oid(&min_stat, &mech);
 	}
 
 	/*