FreeBSD Bugzilla – Attachment 148172 Details for
Bug 194289
cuse_lib.c use a_cuse after unlocking mutex m_cuse -Wthread-safety-analysis
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-lib__libcuse__cuse_lib.c: mutex unlock correctly.
patch-lib__libcuse__cuse_lib.c (text/plain), 407 bytes, created by
brunolauze
on 2014-10-10 17:04:09 UTC
(
hide
)
Description:
patch-lib__libcuse__cuse_lib.c: mutex unlock correctly.
Filename:
MIME Type:
Creator:
brunolauze
Created:
2014-10-10 17:04:09 UTC
Size:
407 bytes
patch
obsolete
>Index: lib/libcuse/cuse_lib.c >=================================================================== >--- lib/libcuse/cuse_lib.c (revision 272896) >+++ lib/libcuse/cuse_lib.c (working copy) >@@ -282,11 +282,10 @@ > if (a_cuse[n].ptr != ptr) > continue; > >- cuse_unlock(); >- > info.alloc_nr = n; > > munmap(ptr, a_cuse[n].size); >+ cuse_unlock(); > > error = ioctl(f_cuse, CUSE_IOCTL_FREE_MEMORY, &info); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 194289
: 148172