diff options
author | John Abd-El-Malek <jam@chromium.org> | 2014-06-04 14:42:19 -0700 |
---|---|---|
committer | John Abd-El-Malek <jam@chromium.org> | 2014-06-04 14:42:19 -0700 |
commit | bb2b1e72929fb78f9d5b64b3732ed9b5cc93af4e (patch) | |
tree | 90917f85699dbd714cbbad19ad6b23f849b1bfe5 /README | |
parent | 62a7fd6bda145ca3bba0c87102a77e03b5d11037 (diff) | |
download | pdfium-bb2b1e72929fb78f9d5b64b3732ed9b5cc93af4e.tar.xz |
Use unsigned type for iteration to avoid int overflow.
If src_len in PDF_DecodeText is larger than 2^31,
2 * max_chars will overflow and the function will produce
an incorrect result.
BUG=none
R=bo_xu@foxitsoftware.com
Review URL: https://codereview.chromium.org/306923006
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions