[PATCH 0/2] Long path in cmd
Eric Pouech
eric.pouech at gmail.com
Thu Jan 20 12:04:09 CST 2022
Protect and test programs/cmd against path which length exceeds MAX_PATH
patch to programs/cmd is applied before adding the tests as the tests make
cmd crash with a stack overflow
A+
---
Eric Pouech (2):
programs/cmd: don't overflow internal buffers
programs/cmd/tests: test paths which length exceeds MAX_PATH
programs/cmd/builtins.c | 39 +++++++++++++++++-------
programs/cmd/tests/test_builtins.cmd | 19 ++++++++++++
programs/cmd/tests/test_builtins.cmd.exp | 4 +++
programs/cmd/wcmdmain.c | 10 ++++--
4 files changed, 58 insertions(+), 14 deletions(-)
More information about the wine-devel
mailing list