[Webkit-unassigned] [Bug 53045] REGRESSION (r74807): memory corruption after CachedResourceLoader refactoring

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 9 15:56:37 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=53045





--- Comment #11 from Antti Koivisto <koivisto at iki.fi>  2011-03-09 15:56:37 PST ---
(In reply to comment #9)
5) we crash when calling m_validatedURLs.add(url). We got url earlier, from "const String& url = resource->url();". However, resource could have been deleted by the "memoryCache()->remove(resource);" call, thus the url String reference may not be good anymore. I think making an explicit copy of the url String should fix things. The fact that all this code originated with r74807 makes me pretty sure that this is the cause.

Great, that must be it! Do you want to make the patch?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list