skia/skia/13ed848ed4a0a8d8dd606318ce44f6c904a23e1f [ganesh] Prevent silent updateData failure
* Under high memory pressure scenarios, most notably flushCpuData(),
updateData() can fail silently, enabling an attacker to potentially
draw stale data from a buffer.
* Pipes out the result from updateData() in several places, dropping
the draw if a failure occurs.
Bug: b/553130676
Change-Id: Id281f53d9f6e4d79d0737fa7b54a102e59ab5f00
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/1339637
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Thomas Smith <thomsmit@google.com>
9 files changed