summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_node.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-05-03 18:20:53 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-03 18:20:53 +0000
commitc5c0eebe863bb4fad86b43f62fa81d89f07c9011 (patch)
treec15e79f29e0d37e6e8423e1095dc9c9d18edb66f /xfa/fxfa/parser/cxfa_node.h
parent525147a1f6d6cd736a407d1e189ac25d2f4726e8 (diff)
downloadpdfium-c5c0eebe863bb4fad86b43f62fa81d89f07c9011.tar.xz
[xfa] Verify field count before accessing
When processing items for layout it's possible for the iBlockIndex*3 value could be larger then the field split count. If this is the case we'll walk off the end of the split array. This CL verifys that we have enough data before attempting to walk the splits and returns early if we don't have enough data. Bug: chromium:837585 Change-Id: I534298b4ee354ce079442d893202f811431155a0 Reviewed-on: https://pdfium-review.googlesource.com/32051 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_node.h')
0 files changed, 0 insertions, 0 deletions