diff options
author | Nicolas Pena <npm@chromium.org> | 2017-03-13 12:13:20 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-13 18:05:22 +0000 |
commit | 9818dc150132ac04148174258423e394eb0948b9 (patch) | |
tree | 4967bb63e9641f5c6e5c2881334beea2f07025f9 /core/fxcodec/codec/ccodec_tiffmodule.cpp | |
parent | d8f45b3c9f6bc16c74e17b7269269193b0d94f18 (diff) | |
download | pdfium-9818dc150132ac04148174258423e394eb0948b9.tar.xz |
LibopenJPEG: Fix some divisions by 0 in pi.c
The undefined shifts in libopenjpeg are sometimes used as divisors. This CL
checks that we are not trying to divide by 0 or mod by 0 in some places in
pi.c.
BUG=chromium:699491
Change-Id: Iaf629112437068d6479dbbb52b339bec6edefed0
Reviewed-on: https://pdfium-review.googlesource.com/2962
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'core/fxcodec/codec/ccodec_tiffmodule.cpp')
0 files changed, 0 insertions, 0 deletions