Skip to content

rpc.gssd: Two resource leaks

[email protected] linux-nfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rpc.gssd: Decrement client referece count on error pathsutils/gssd/gssd_proc.c+3 -00 replies
2/2rpc.gssd: Call pthread_attr_destroy before returning from start_upcall_threadutils/gssd/gssd_proc.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] rpc.gssd: Two resource leaks

From: Thiago Becker <[email protected]>

Patch 1 drops a reference to clnt_info when alloc_upcall_info fails. Patch 2 frees the thread attributes before returning from start_upcall_thread.

Both leaks were identified by claude sonnet 4.5, among some amount of false positives that were hand filtered.

Thiago Becker (2):
rpc.gssd: Decrement client referece count on error paths rpc.gssd: Call pthread_attr_destroy before returning from
start_upcall_thread

 utils/gssd/gssd_proc.c | 4 ++++
 1 file changed, 4 insertions(+)
Signature · 1 line
2.54.0