VOGONS

Common searches


Search results

Display options

Memory corruption in DOS_Shell::CMD_DELETE

Hi DOSBox developers, I found a memory corruption bug in DOS_Shell::CMD_DELETE and DOS_Shell::CMD_DIR via the ExpandDot function. ExpandDot uses `strcpy` without a size limit and so the stack can be smashed. https://github.com/Henne/dosbox-svn/blob/master/src/shell/shell_cmds.cpp#L192 Indeed if you …

Page 1 of 1