Closed Bug 1495738 Opened 2 years ago Closed 2 years ago
Image cache entry should not be reused when Cache-Control header is received
I managed to reproduce a race condition where a cached image is used also when the Cache-Control header has been received This happens because we consider valid cache entries, images with no-cache header if used in the same document. This comparison is based on a loadID which is the document's pointer. But that pointer can be reused for another document and we end up exposing a cached image when we should not.
Attachment #9013606 - Flags: review?(aosmond) → review+
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/135eaacf1dfc Image cache entry should compare the window ID together with the loadID because the loadID can be a reused pointer, r=aosmond
You need to log in before you can comment on or make changes to this bug.