gpu: Fix CHECK failure found by ClusterFuzz
ClusterFuzz found a case where the transfer buffer could be resized after we finish using a ScopedResultPtr but before it goes out of scope. This cleans up the dangling pointer by reducing its scope. Bug: 905889, 906409 Change-Id: I9e4aec8ed8f66df15404719c2589f775b433c3cd Reviewed-on: https://chromium-review.googlesource.com/c/1351783Reviewed-by:Antoine Labour <piman@chromium.org> Commit-Queue: James Darpinian <jdarpinian@chromium.org> Cr-Commit-Position: refs/heads/master@{#611158}
Showing
Please register or sign in to comment