SerenityOS / serenity

The Serenity Operating System 🐞
https://serenityos.org
BSD 2-Clause "Simplified" License
29.32k stars 3.13k forks source link

Cherry-pick "LibWeb: Avoid null dereference when performing mixed content checks" #24597

Closed nico closed 4 days ago

nico commented 5 days ago

Previously, navigating to or from about:newtab caused a crash due to inadvertent null dereferences when checking whether a request or response to a request should be blocked as mixed content.

(cherry picked from commit 572ebe00eacd5aaeecc17207c75c6bf2327a3897)


Cherry-picks https://github.com/LadybirdBrowser/ladybird/pull/161