RESOLVED DUPLICATE of bug 56258 56224
Wrong size passed into WTF::StringHasher::createBlobHash() in BinaryPropertyList.cpp line 95.
https://bugs.webkit.org/show_bug.cgi?id=56224
Summary Wrong size passed into WTF::StringHasher::createBlobHash() in BinaryPropertyL...
Yongjun Zhang
Reported 2011-03-11 14:27:37 PST
See title, in Source/WebCore/platform/cf/BinaryPropertyList.cpp, line 95: WTF::StringHasher::createBlobHash(array.integers(), array.size()); which passes the size of integer array, i.e., how many integers the array has. However, StringHasher::createBlobHash(const void* data, unsigned size) (wtf/StringHasher.h:144) expects size to be the byte array's size. For example, if the integer array has 1 integer, we would get an assertion failure in wtf/StringHasher.h:146: ASSERT(!(size % 2));
Attachments
Darin Adler
Comment 1 2011-03-12 20:09:39 PST
Oops, I didn’t see this bug. Already fixed it.
Darin Adler
Comment 2 2011-03-12 20:09:53 PST
*** This bug has been marked as a duplicate of bug 56193 ***
Darin Adler
Comment 3 2011-03-12 20:11:00 PST
*** This bug has been marked as a duplicate of bug 56258 ***
Note You need to log in before you can comment on or make changes to this bug.