Bug 11472

Summary: Uninitialized member being used before set
Product: WebKit Reporter: David Carson <dacarson>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: barraclough
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   

Description David Carson 2006-10-31 11:53:57 PST
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.
Comment 1 Geoffrey Garen 2006-10-31 13:54:11 PST
Do you have steps to reproduce?
Comment 2 Gavin Barraclough 2011-08-12 13:07:18 PDT
This code no longer exists, at least not in a form anything like this. :-)