[Bug 261051] Double unlocking in rpc_soc.c
Date: Sun, 09 Jan 2022 04:51:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261051 Bug ID: 261051 Summary: Double unlocking in rpc_soc.c Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: ryancaicse@gmail.com In method clnt_com_create, the rpcsoc_lock is released twice when the condition sport == 0 is satisfied and it goes to err where the lock rpcsoc_lock is released again. Locations: https://github.com/freebsd/freebsd-src/blob/373ffc62c158e52cde86a5b934ab4a51307f9f2e/lib/libc/rpc/rpc_soc.c#L119-L127 https://github.com/freebsd/freebsd-src/blob/373ffc62c158e52cde86a5b934ab4a51307f9f2e/lib/libc/rpc/rpc_soc.c#L155-L158 -- You are receiving this mail because: You are the assignee for the bug.