Author: ekohl
Date: Wed Jun 7 13:43:33 2017
New Revision: 74939
URL:
http://svn.reactos.org/svn/reactos?rev=74939&view=rev
Log:
[INTL]
Fix overruns in GetTimeSetting().
Patch by Victor Martinez Calvo.
CORE-13386
Modified:
trunk/reactos/dll/cpl/intl/time.c
Modified: trunk/reactos/dll/cpl/intl/time.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/intl/time.c?rev=74…
==============================================================================
--- trunk/reactos/dll/cpl/intl/time.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/intl/time.c [iso-8859-1] Wed Jun 7 13:43:33 2017
@@ -162,9 +162,9 @@
PGLOBALDATA pGlobalData)
{
WCHAR szTimeFormat[MAX_TIMEFORMAT];
- WCHAR szTimeSep[MAX_TIMEFORMAT];
- WCHAR szTimeAM[MAX_TIMEFORMAT];
- WCHAR szTimePM[MAX_TIMEFORMAT];
+ WCHAR szTimeSep[MAX_TIMESEPARATOR];
+ WCHAR szTimeAM[MAX_TIMEAMSYMBOL];
+ WCHAR szTimePM[MAX_TIMEPMSYMBOL];
/* Time format */
GetSelectedComboBoxText(hwndDlg,