[Bug 194289] New: cuse_lib.c use a_cuse after unlocking mutex m_cuse -Wthread-safety-analysis
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Oct 10 17:04:10 UTC 2014
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 at FreeBSD.org
Reporter: brunolauze at 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.
More information about the freebsd-threads
mailing list