[PATCH] cmd.exe: increase size of WCMD_HandleTildeModifiers() buffers to MAXSTRING
13 Nov
2020
13 Nov
'20
4:09 p.m.
Some buffers in WCMD_HandleTildeModifiers() are only of size MAX_PATH, even though they handle strings that aren't necessarily filenames. When changed to have size MAXSTRING, a stack overflow crash with strings of size MAX_PATH stops happening. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=42731 Signed-off-by: Damjan Jovanovic <damjan.jov(a)gmail.com> --- programs/cmd/batch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
1945
Age (days ago)
1945
Last active (days ago)
0 comments
1 participants
participants (1)
-
Damjan Jovanovic