[Bug 28742] New: comctl32/tests/monthcal.ok: Invalid read in MONTHCAL_NotifyDayState() in test_daystate()

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Oct 15 22:26:34 CDT 2011


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

             Bug #: 28742
           Summary: comctl32/tests/monthcal.ok: Invalid read in
                    MONTHCAL_NotifyDayState() in test_daystate()
           Product: Wine
           Version: 1.3.30
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: comctl32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com
    Classification: Unclassified


Running "make monthcal.ok" in comctl32/tests makes Valgrind complain:

Invalid read of size 4
   at memcpy (mc_replace_strmem.c:635)
   by MONTHCAL_NotifyDayState (monthcal.c:1902)
   by MONTHCAL_UpdateSize (monthcal.c:2545)
   by MONTHCAL_WindowProc (monthcal.c:2739)
   by ??? (in user32.dll.so)
   by call_window_proc (winproc.c:242)
   by WINPROC_CallProcAtoW (winproc.c:404)
   by WINPROC_call_window (winproc.c:910)
   by call_window_proc (message.c:2211)
   by send_message (message.c:3084)
   by SendMessageA (message.c:3286)
   by WIN_CreateWindowEx (win.c:1448)
   by CreateWindowExA (win.c:1550)
   by create_monthcal_control (monthcal.c:577)
   by test_daystate (monthcal.c:1899)
   by func_monthcal (monthcal.c:1963)
   by run_test (test.h:556)
   by main (test.h:624)
 Address 0x7f22e4c4 is not stack'd, malloc'd or (recently) free'd

The error happens right when creating the control.  I don't know where the wild
pointer comes from.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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