diff options
author | dsinclair <dsinclair@chromium.org> | 2016-08-11 07:50:08 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-11 07:50:08 -0700 |
commit | 22eeccb34f91f9932f7cec295bcaf641ba249e3a (patch) | |
tree | 9775d10c30ff05cabd4d8238a037d3865588ec94 /testing/embedder_test_mock_delegate.h | |
parent | b4d1b576bccb5ca6cebe29288af014bd0f512af1 (diff) | |
download | pdfium-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 'testing/embedder_test_mock_delegate.h')
0 files changed, 0 insertions, 0 deletions