Chromium Code Reviews
DescriptionM55: Strengthen bounds check in CWeightTable::Calc * part II
This CL implemented a better version of CWeightTable::GetPixelWeightSize(), which will calculate the size of array PixelWeight.m_Weights correctly to prevent potential heap buffer overflow conditions.
BUG=chromium:654183
TBR=tsepez@chromium.org
Review-Url: https://codereview.chromium.org/2404453003
(cherry picked from commit 05923132ae08d45fbe957219775a48c55ee57aef)
Committed: https://pdfium.googlesource.com/pdfium/+/ed6485f1aa4ce9de8b5cab86cc844df4f4bd0b52
Patch Set 1 #
Messages
Total messages: 4 (3 generated)
|
|||||||||||||||||||