xcopy: Allocate more space for the W buffer (Coverity).

This commit is contained in:
Marcus Meissner 2013-09-29 14:23:04 +02:00 committed by Alexandre Julliard
parent 7c8c90abbb
commit a6550abee5
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ static int __cdecl XCOPY_wprintf(const WCHAR *format, ...) {
*/
if (!output_bufW) output_bufW = HeapAlloc(GetProcessHeap(), 0,
MAX_WRITECONSOLE_SIZE);
MAX_WRITECONSOLE_SIZE*sizeof(WCHAR));
if (!output_bufW) {
WINE_FIXME("Out of memory - could not allocate 2 x 64K buffers\n");
return 0;