[Bug 49202] New: Never exited critical section in freetype.c

WineHQ Bugzilla wine-bugs at winehq.org
Tue May 19 13:48:54 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=49202

            Bug ID: 49202
           Summary: Never exited critical section in freetype.c
           Product: Wine
           Version: 5.8
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: mikrutrafal54 at gmail.com
      Distribution: ---

if expression `(!enum_face_charsets(family, face, &enum_charsets, proc, lparam,
NULL))` is true, then only return is executed without exiting critical session 


https://github.com/wine-mirror/wine/blob/6d801377055911d914226a3c6af8d8637a63fa13/dlls/gdi32/freetype.c#L6140-L6147

```
                if (!enum_face_charsets(family, face, &enum_charsets, proc,
lparam, psub ? psub->from.name : NULL)) return FALSE;
        }
    }
    } else {
        LIST_FOR_EACH_ENTRY( family, &font_list, Family, entry ) {
            face_list = get_face_list_from_family(family);
            face = LIST_ENTRY(list_head(face_list), Face, entry);
            if (!enum_face_charsets(family, face, &enum_charsets, proc, lparam,
NULL)) return FALSE;
```

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list