Prevent accessing null clipboard data.
This change prevents the clipboard data from being accessed if the clipboard data happens to be null. This is to prevent crashes from occurring that happened when the nonbacked clipboard held a nullptr for the data field and we tried to access it. BUG=1147262 Change-Id: Ic778a18ed592e3d7ad8de1ea2fd949c6b31767db Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2544077Reviewed-by:Luciano Pacheco <lucmult@chromium.org> Reviewed-by:
Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: Alexander Nohe <nohe@chromium.org> Cr-Commit-Position: refs/heads/master@{#828522}
Showing
Please register or sign in to comment