DescriptionFix crash in ChromeZoomLevelPrefs::ExtractPerHostZoomLevels().
This CL fixes a crash that occurs when ExtractPerHostZoomLevels is
called with a legacy per-host zoom level dictionary. In this case the
sanitization code will fail to find a partition key and subsequently
dereference a null pointer.
Since the legacy dictionary will be deleted immediately after the
function exits, we just skip the sanitization in this case.
BUG=424540
Committed: https://crrev.com/d94fd1d623893516b98e59e2b79e512ac26556f4
Cr-Commit-Position: refs/heads/master@{#300501}
Patch Set 1 #
Total comments: 3
Patch Set 2 : Convert parameter to bool. #
Messages
Total messages: 13 (4 generated)
|