Date: Fri, 10 Oct 2014 17:04:09 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-threads@FreeBSD.org Subject: [Bug 194289] New: cuse_lib.c use a_cuse after unlocking mutex m_cuse -Wthread-safety-analysis Message-ID: <bug-194289-16@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194289 Bug ID: 194289 Summary: cuse_lib.c use a_cuse after unlocking mutex m_cuse -Wthread-safety-analysis Product: Base System Version: 11.0-CURRENT Hardware: amd64 OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: threads Assignee: freebsd-threads@FreeBSD.org Reporter: brunolauze@msn.com Created attachment 148172 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=148172&action=edit patch-lib__libcuse__cuse_lib.c: mutex unlock correctly. lib/libcuse/libcuse.c will throw a compile error with clang 3.6 - trunk - on -Wthread-safety-analysis . I suggest unlock call being done after the munmap() call at line 287. Included: the patch -- 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-194289-16>