GNOME Bugzilla – Bug 733587
Crash occurs during cache validation of a XMLHttpRequest with Cache-Control "max-age"
Last modified: 2014-07-24 15:50:27 UTC
Reproduction scenario: 1. Load a page (ex: test page) which caches a XMLHttpRequest resource 2. Close the browser and launch again 3. Load the test page again 4. During cache validation of the XMLHttpRequest request crash occurs
I'll be submitting patch and sample test page in the next comment.
Created attachment 281449 [details] [review] Adding null check for value to handle this scenario
This actually has nothing to do with xmlhttp; it's just that "max-age" is supposed to always have a value, and if the server sends an invalid header where max-age is listed without a value, then soup would crash. committed with an updated commit message explaining that. thanks for the patch