Bug 16485 - DocLoader::checkForReload will crash if the URL isNull
Summary: DocLoader::checkForReload will crash if the URL isNull
Alias: None
Product: WebKit
Classification: Unclassified
Component: Frames (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Brett Wilson (Google)
Depends on:
Blocks: 16480 16538
  Show dependency treegraph
Reported: 2007-12-17 14:45 PST by Brett Wilson (Google)
Modified: 2008-02-16 08:18 PST (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Brett Wilson (Google) 2007-12-17 14:45:09 PST
If the "fullURL" parameter to checkForReload has a URL string that isNull (for example, it was generated by resolving a relative URL on a data: base URL), this function will crash in cache()->resourceForURL(fullURL.url()).

I don't know whether the cache should handle NULL strings, or whether checkForReload should filter them out first.

This crash doesn't happen in practice because of another bug I am about to file.