From c4a2507e68bd2040e5944ccbbafb87ea6196fe06 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 9 Sep 2013 19:55:34 +0000 Subject: - memory corruption in [img] button; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@6037 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/chat/clist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TabSRMM/src/chat/clist.cpp') diff --git a/plugins/TabSRMM/src/chat/clist.cpp b/plugins/TabSRMM/src/chat/clist.cpp index 3afb600074..fc233ec946 100644 --- a/plugins/TabSRMM/src/chat/clist.cpp +++ b/plugins/TabSRMM/src/chat/clist.cpp @@ -223,7 +223,7 @@ BOOL CList_AddEvent(HANDLE hContact, HICON Icon, HANDLE event, int type, const T if (!fmt || lstrlen(fmt) < 1 || lstrlen(fmt) > 2000) return FALSE; - TCHAR* szBuf = (TCHAR*)alloca(4096 * sizeof(TCHAR)); + TCHAR* szBuf = (TCHAR*)_alloca(4096 * sizeof(TCHAR)); va_list marker; va_start(marker, fmt); -- cgit v1.2.3