DescriptionStrengthen 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
R=ochang@chromium.org, thestig@chromium.org, dsinclair@chromium.org
Committed: https://pdfium.googlesource.com/pdfium/+/05923132ae08d45fbe957219775a48c55ee57aef
Patch Set 1 #
Total comments: 1
Patch Set 2 : A better implementation of GetPixelWeightSize #
Total comments: 1
Patch Set 3 : Simplify the expression #Messages
Total messages: 13 (4 generated)
|