Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(885)

Unified Diff: xfa/src/fxfa/src/fm2js/xfa_lexer.h

Issue 1718453003: Add a proper bounds check to XFA_FM_KeywordToString (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | xfa/src/fxfa/src/fm2js/xfa_lexer.cpp » ('j') | xfa/src/fxfa/src/fm2js/xfa_lexer.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fxfa/src/fm2js/xfa_lexer.h
diff --git a/xfa/src/fxfa/src/fm2js/xfa_lexer.h b/xfa/src/fxfa/src/fm2js/xfa_lexer.h
index 5db3b093cd8ac1f881c7575229fcad663cc1d46a..ccfa9f546e6b758d5ddf02b8de915afd914e9e89 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);
« no previous file with comments | « no previous file | xfa/src/fxfa/src/fm2js/xfa_lexer.cpp » ('j') | xfa/src/fxfa/src/fm2js/xfa_lexer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698