Date: Sun, 09 Jan 2022 04:51:05 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261051] Double unlocking in rpc_soc.c Message-ID: <bug-261051-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261051 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 condi= tion sport =3D=3D 0 is satisfied and it goes to err where the lock rpcsoc_lock is released again. Locations: https://github.com/freebsd/freebsd-src/blob/373ffc62c158e52cde86a5b934ab4a5= 1307f9f2e/lib/libc/rpc/rpc_soc.c#L119-L127 https://github.com/freebsd/freebsd-src/blob/373ffc62c158e52cde86a5b934ab4a5= 1307f9f2e/lib/libc/rpc/rpc_soc.c#L155-L158 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261051-227>