Bug 16485
| Summary: | DocLoader::checkForReload will crash if the URL isNull | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Brett Wilson (Google) <brettw> |
| Component: | Frames | Assignee: | Brett Wilson (Google) <brettw> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
| Bug Depends on: | |||
| Bug Blocks: | 16480, 16538 | ||
Brett Wilson (Google)
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Darin Adler
http://trac.webkit.org/projects/webkit/changeset/30243