| Summary: | Make HSTS list handling more robust against unexpected content | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> | ||||||
| Component: | WebKit Misc. | Assignee: | Brent Fulgham <bfulgham> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | achristensen, bfulgham, cdumez, jiewen_tan, pvollan, webkit-bug-importer, wilander | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Brent Fulgham
2019-04-03 12:27:36 PDT
Created attachment 366630 [details]
Patch
Comment on attachment 366630 [details]
Patch
If this is happening, doesn't this indicate the HSTS cache is corrupted and we should clear the HSTS cache completely?
Created attachment 366955 [details]
Patch
Comment on attachment 366955 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=366955&action=review > Source/WebKit/NetworkProcess/cocoa/NetworkProcessCocoa.mm:163 > + auto hostnames = static_cast<HashSet<String>*>(context); We usually prefer auto* for raw pointers. Committed r244035: <https://trac.webkit.org/changeset/244035> |