Commit 6ebf8b49 authored by Uwe Bonnes's avatar Uwe Bonnes Committed by Alexandre Julliard

Fixed buffer overflow.

parent 89450e7c
......@@ -327,7 +327,7 @@ void VOLUME_CreateDevices(void)
int i, count = 0;
if (!(buffer = HeapAlloc( GetProcessHeap(), 0,
strlen(config_dir) + sizeof("/dosdevices") + 3 )))
strlen(config_dir) + sizeof("/dosdevices/a::") )))
return;
strcpy( buffer, config_dir );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment