[Bug 7688] New: dead code or bug? Win16Lock is not held before calling function add_to_init_list

Wine Bugs wine-bugs at winehq.org
Sun Mar 11 19:17:40 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=7688

           Summary: dead code or bug? Win16Lock is not held before calling
                    function add_to_init_list
           Product: Wine
           Version: 0.9.1.
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-kernel
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: tammy000 at gmail.com


The comment above  function add_to_init_list() says "This routine must only be
called with the Win16Lock held."

but in the following call chain, the lock is not acquired.

mmTaskEntryPoint16 -> InitTask16 -> NE_DllProcessAttach -> add_to_init_list

Is mmTaskEntryPoint16 dead? I do not see where it is called from.
Or is this a bug?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list