diff options
author | Oliver Chang <ochang@chromium.org> | 2016-02-17 16:51:56 -0800 |
---|---|---|
committer | Oliver Chang <ochang@chromium.org> | 2016-02-17 16:51:56 -0800 |
commit | 1e1d3b0f2bc6b6c185b37e0aa6b8663e901dc8bf (patch) | |
tree | 56197c6d5664950ce17eb42224523e13b6b2c103 /xfa/src/fxgraphics | |
parent | 2398d8938277a2492b411f8f807bf1935918ccae (diff) | |
download | pdfium-1e1d3b0f2bc6b6c185b37e0aa6b8663e901dc8bf.tar.xz |
Fix some issues with CXFA_FMParse/CXFA_FMLexer infinite looping.chromium/2657chromium/2656chromium/2655
The parser did not expect an invalid token in some places, leading to an
infinite loop.
In the lexer, if an invalid string was found, the underlying pointer was
never advanced.
Also cleans some minor stuff along the way:
- Remove nonsensical/useless destructors
- Use unique_ptrs for owned members
- Remove unused members
- Other minor style changes
BUG=587620
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1701363003 .
Diffstat (limited to 'xfa/src/fxgraphics')
0 files changed, 0 insertions, 0 deletions