[Bug 28767] New: shell32: uninitialized memory used during TRASH_EnumItems, triggered by "make recyclebin.ok"

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 17 10:33:17 CDT 2011


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

             Bug #: 28767
           Summary: shell32: uninitialized memory used during
                    TRASH_EnumItems, triggered by "make recyclebin.ok"
           Product: Wine
           Version: 1.3.30
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: shell32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dank at kegel.com
    Classification: Unclassified


Running "make recyclebin.ok" in shell32/tests, valgrind complains

Conditional jump or move depends on uninitialised value(s)
   at __mktime_internal (mktime.c:428)
   by mktime (mktime.c:518)
   by TRASH_EnumItems (trash.c:444)
   by SHQueryRecycleBinW (recyclebin.c:859)
   by SHQueryRecycleBinA (recyclebin.c:848)
   by test_query_recyclebin (recyclebin.c:74)
   by func_recyclebin (recyclebin.c:106)
   by run_test (test.h:556)
   by main (test.h:624)
 Uninitialised value was created by a stack allocation
   at TRASH_EnumItems (trash.c:506)

Looks like not all the fields of del_time got initialized?

47b40c58 (Mikołaj Zalewski   2006-08-17 18:29:58 +0200 444)         del_secs =
mktime(&del_time);

-- 
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