diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-04-10 17:32:01 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-04-10 22:10:26 +0000 |
commit | 96e65ae3a3a328022f025805e9db02cbed1b5607 (patch) | |
tree | a0db27e242ad8dfaf159aebfdb939ceb6bd3fc1c /skia | |
parent | 0c820a2c5e2c197c0f436f2ac9e4f49207a79c4f (diff) | |
download | pdfium-96e65ae3a3a328022f025805e9db02cbed1b5607.tar.xz |
Guard against negative shift in nVal calculation
It's possible for the nVal to become negative as it is shifted. This Cl
changes nVal to be a checked_numeric and bails out if the shift is invalid.
Bug: chromium:708504
Change-Id: Ia2ebbc828ece7f7d443432542784b39defe6a897
Reviewed-on: https://pdfium-review.googlesource.com/4010
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'skia')
0 files changed, 0 insertions, 0 deletions