[webkit-dev] String::impl() returns NULL causes crash

Mo, Zhenyao zhenyao at gmail.com
Wed Apr 13 17:00:26 PDT 2011


In StringHash.h line 89

StringHash::hash(const String& key) { return key.impl()->hash(); }

so it assumes String::impl() never returns NULL.

However, I encountered a case where String::impl() is NULL, thus, crash.

So what's wrong here?


More information about the webkit-dev mailing list