DescriptionPreven OOB memory access in chrome_pdf::AlphaBlend().
Similar to bug 398384, but perform the same bounds check we introduced to
chrome_pdf::CopyImage() in the chrome_pdf::AlphaBlend() function.
Also change the return value from bool to void, since AlphaBlend() always
returns true, and no-one was checking the return value anyways.
BUG=384891
Committed: https://crrev.com/8f07983fb62fb48fc8298b150e4548f92a374da1
Cr-Commit-Position: refs/heads/master@{#293454}
Patch Set 1 #
Messages
Total messages: 7 (2 generated)
|