[Web Payment] Cancel pending database operations.
Before this patch, payment credential storage and retrieval did not cancel database operations when secure payment confirmation was being torn down, so the database operation callbacks could use secure payment confirmation code path after free. This patch cancels the payment credential storage and retrieval operations during the tear down. After this patch, there is no use-after-free errors when a database operation is in flight during secure payment confirmation tear down. Bug: 1136078 Change-Id: I2a02089f4ab5c3c8ae5ebed91304b11e1c1eaf36 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518924Reviewed-by:Nick Burris <nburris@chromium.org> Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org> Cr-Commit-Position: refs/heads/master@{#824186}
Showing
Please register or sign in to comment