Commit d11b498c authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

winecfg: Fix string buffer length for override settings (Valgrind).

parent 74c3a4a7
......@@ -106,7 +106,7 @@ static enum dllmode string_to_mode(char *in)
enum dllmode res;
len = strlen(in);
out = HeapAlloc(GetProcessHeap(), 0, len);
out = HeapAlloc(GetProcessHeap(), 0, len + 1);
/* remove the spaces */
for (i = j = 0; i <= len; ++i) {
......
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