commit | 465c2a84ba709d932040c9e80db508e93c138da6 | [log] [tgz] |
---|---|---|
author | Bo Xu <bo_xu@foxitsoftware.com> | Sat Aug 02 15:13:46 2014 -0700 |
committer | Bo Xu <bo_xu@foxitsoftware.com> | Sat Aug 02 15:13:46 2014 -0700 |
tree | 07396342b637775b5350e896ba99ac0834e6e2f9 | |
parent | 90d1f9b9fdcbdab22beec36ceddee782ac0f8a39 [diff] |
Fix buffer size boundary check offset by 1 When newPos == file size, the current block will not be read or Get. If this block is a crucial part of the document (like m_pTrailer), the program will exit with parse error and the document will not be rendered. BUG=None R=jun_fang@foxitsoftware.com Review URL: https://codereview.chromium.org/440563003