diff options
author | Oliver Chang <ochang@chromium.org> | 2015-11-20 09:53:08 -0800 |
---|---|---|
committer | Oliver Chang <ochang@chromium.org> | 2015-11-20 09:53:08 -0800 |
commit | e7950df70a2fd658f466751b29483436cb31e829 (patch) | |
tree | 117ff5fae2f38d9a97f2767a65eac8ed6a492069 /public/fpdf_fwlevent.h | |
parent | bd716fcf89f38bb82eb97ae73e9af60c2232328e (diff) | |
download | pdfium-e7950df70a2fd658f466751b29483436cb31e829.tar.xz |
Change |CCodec_ScanlineDecoder::m_Pitch| to FX_DWORD
This matches the type of the corresponding |CFX_DIBSource::m_Pitch|,
where integer overflow is checked for FX_DWORD. This change is
propagated to many other places.
Also, check for integer overflow in |CCodec_RLScanlineDecoder::Create|
during the calculation of |m_Pitch| since it aligns to 4 bytes while
overflow was was previously checked without this alignment.
R=tsepez@chromium.org, thestig@chromium.org
BUG=555784
Review URL: https://codereview.chromium.org/1460033002 .
Diffstat (limited to 'public/fpdf_fwlevent.h')
0 files changed, 0 insertions, 0 deletions