diff options
author | Stephan Hartmann <sultan@gentoo.org> | 2022-03-03 19:09:03 +0100 |
---|---|---|
committer | Stephan Hartmann <sultan@gentoo.org> | 2022-03-03 19:09:36 +0100 |
commit | 52824df723a9b604fb9741028a9e35b2e01af339 (patch) | |
tree | 8eb660be3572f87e8df9825f3c04003cda5b7686 /www-client/chromium/files | |
parent | dev-python/pivy: removed obsolete 0.6.6 (diff) | |
download | gentoo-52824df723a9b604fb9741028a9e35b2e01af339.tar.gz gentoo-52824df723a9b604fb9741028a9e35b2e01af339.tar.bz2 gentoo-52824df723a9b604fb9741028a9e35b2e01af339.zip |
www-client/chromium: dev channel bump to 100.0.4896.20
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r-- | www-client/chromium/files/chromium-100-FindByDottedPath-nullptr.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/www-client/chromium/files/chromium-100-FindByDottedPath-nullptr.patch b/www-client/chromium/files/chromium-100-FindByDottedPath-nullptr.patch deleted file mode 100644 index a8115a6741f8..000000000000 --- a/www-client/chromium/files/chromium-100-FindByDottedPath-nullptr.patch +++ /dev/null @@ -1,35 +0,0 @@ -From ae21059c1d1aed902da40dd7502fbca9c5cf8e3f Mon Sep 17 00:00:00 2001 -From: Daniel Cheng <dcheng@chromium.org> -Date: Sat, 19 Feb 2022 21:38:32 -0800 -Subject: [PATCH] Add missing null check in base::Value::Dict::FindByDottedPath() - -This happens to not crash through sheer luck most of the time. -`GetIfDict()`'s implementation looks like: - - return absl::get_if<Value::Dict>(&data_); - -`data_` is the first member of `base::Value::Dict`, and so `&data_` -evaluates to a null pointer. `absl::get_if<T>()` returns `nullptr` if -the input pointer is null, so it happens to silently (but incorrectly) -work most of the time. - -Fixed: 1299245 -Change-Id: I95ac65542b27f1ee0f7ce0bdec4575035a953820 - -(without unittest) ---- - -diff --git a/base/values.cc b/base/values.cc -index 25feea9..fcb00bf 100644 ---- a/base/values.cc -+++ b/base/values.cc -@@ -608,6 +608,9 @@ - if (!splitter.HasNext()) { - return current_value; - } -+ if (!current_value) { -+ return nullptr; -+ } - current_dict = current_value->GetIfDict(); - if (!current_dict) { - return nullptr; |