[Webkit-unassigned] [Bug 11472] New: Uninitialized member being used before set

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 31 11:53:58 PST 2006


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

           Summary: Uninitialized member being used before set
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: dacarson at gmail.com


In kjs/property_map.cpp
In PropertyMap::mark()

  Entry *entries = _table->entries;

we are seeing a warning stating "Use of uninitialised value of size 4"

I'm thinking it's the entries array element 0 not being initialized in
the PropertyMapHashTable

struct PropertyMapHashTable
{
   int sizeMask;
   int size;
   int keyCount;
   int sentinelCount;
   int lastIndexUsed;
   PropertyMapHashTableEntry entries[1];
};

Though not 100% sure.


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