diff options
author | Oliver Chang <ochang@chromium.org> | 2016-02-19 15:23:30 -0800 |
---|---|---|
committer | Oliver Chang <ochang@chromium.org> | 2016-02-19 15:23:30 -0800 |
commit | f348235cce75d378a17f3aee81a97f92049fa0a8 (patch) | |
tree | 5f68077ac56d23042833ac70e840083d20bb6c6c /xfa/src/fxfa/src/fm2js/xfa_lexer.h | |
parent | ae85f87266abee649fe8f202515bba4590196711 (diff) | |
download | pdfium-f348235cce75d378a17f3aee81a97f92049fa0a8.tar.xz |
Add a proper bounds check to XFA_FM_KeywordToString
R=tsepez@chromium.org
BUG=588200
Review URL: https://codereview.chromium.org/1718453003 .
Diffstat (limited to 'xfa/src/fxfa/src/fm2js/xfa_lexer.h')
-rw-r--r-- | xfa/src/fxfa/src/fm2js/xfa_lexer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/src/fxfa/src/fm2js/xfa_lexer.h b/xfa/src/fxfa/src/fm2js/xfa_lexer.h index 5db3b093cd..ccfa9f546e 100644 --- a/xfa/src/fxfa/src/fm2js/xfa_lexer.h +++ b/xfa/src/fxfa/src/fm2js/xfa_lexer.h @@ -83,7 +83,7 @@ enum XFA_FM_TOKEN { struct XFA_FMKeyword { XFA_FM_TOKEN m_type; uint32_t m_uHash; - const FX_WCHAR* m_keword; + const FX_WCHAR* m_keyword; }; const FX_WCHAR* XFA_FM_KeywordToString(XFA_FM_TOKEN op); |