This is cherry-picked from WebKit's patch for fixing a fuzzer failure. The original patch: https://github.com/WebKit/WebKit/pull/30438 Bug: chromium:41480904 Change-Id: Ic8eddb9de816c4c8d720dac6d4c55d1db3f0596e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/356361 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Philip Eliasson <philipel@webrtc.org> Commit-Queue: Jianlin Qiu <jianlin.qiu@intel.com> Cr-Commit-Position: refs/heads/main@{#42598}