[Webkit-unassigned] [Bug 17030] New: Small buffer overflow within initialization

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 27 03:46:18 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=17030

           Summary: Small buffer overflow within initialization
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: stbinner at suse.de


The patch should say enough :-)....

--- JavaScriptCore/kjs/date_object.cpp  2008/01/16 12:24:15     1.1
+++ JavaScriptCore/kjs/date_object.cpp  2008/01/16 12:24:21
@@ -908,7 +908,7 @@
     // fall back to local timezone
     if (!haveTZ) {
         GregorianDateTime t;
-        memset(&t, 0, sizeof(tm));
+        memset(&t, 0, sizeof(t));
         t.monthDay = day;
         t.month = month;
         t.year = year - 1900;


-- 
Configure bugmail: http://bugs.webkit.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 webkit-unassigned mailing list