Skip to content

Commit a03c384

Browse files
committed
Reduce PATHBUF to 2048 to prevent stack overflow on launcher
1 parent 2b3d486 commit a03c384

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wrapper/onefile_launcher_windows.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <windows.h>
55

66
#define MARKER "\n__DOWNPLAY_PAYLOAD_V1__\n"
7-
#define PATHBUF 32768
7+
#define PATHBUF 2048
88

99
static int mkdirs_w(const wchar_t *path)
1010
{

0 commit comments

Comments
 (0)