summaryrefslogtreecommitdiff
path: root/xfa/fde/fde_render.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-08-11 07:50:08 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-11 07:50:08 -0700
commit22eeccb34f91f9932f7cec295bcaf641ba249e3a (patch)
tree9775d10c30ff05cabd4d8238a037d3865588ec94 /xfa/fde/fde_render.h
parentb4d1b576bccb5ca6cebe29288af014bd0f512af1 (diff)
downloadpdfium-22eeccb34f91f9932f7cec295bcaf641ba249e3a.tar.xz
Guard against undefined shift.
This Cl fixes the CFDE_XMLSyntaxParser::ParseTextChar() to handle entities where the value goes negative. Currently this could cause an undefined-shift as due to the (ch << 4) calls. Instead, detect if the value has gone negative and return a space character. BUG=chromium:603489 Review-Url: https://codereview.chromium.org/2223823003
Diffstat (limited to 'xfa/fde/fde_render.h')
0 files changed, 0 insertions, 0 deletions