From 062a0798d91646959e8092a129fbe706534ca387 Mon Sep 17 00:00:00 2001 From: linlin_miao Date: Fri, 31 Oct 2014 10:10:33 +0800 Subject: modify google bug 61311 for messageBox; 61750 for dateField input "aaa" not dislpay; update font map; --- xfa/src/fgas/src/localization/fx_locale.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xfa/src/fgas') diff --git a/xfa/src/fgas/src/localization/fx_locale.cpp b/xfa/src/fgas/src/localization/fx_locale.cpp index a932a6c1a3..f086cbd9ca 100644 --- a/xfa/src/fgas/src/localization/fx_locale.cpp +++ b/xfa/src/fgas/src/localization/fx_locale.cpp @@ -2505,6 +2505,9 @@ static FX_BOOL FX_ParseLocaleDate(const CFX_WideString& wsDate, const CFX_WideSt cc += 2; } } + if (cc < len) { + return FALSE; + } CFX_Unitime ut; ut.Set(year, month, day); datetime = datetime + ut; -- cgit v1.2.3