Hello,
a fixed memory buffer in the bootloader could lead to a crash when the
executable built with PyInstaller was being run from a directory which was
very deep in the file system (pathname with more than 70-80 characters). The
trivial fix is attached.
Committed as r287.
--
Giovanni Bajo
Index: source/common/launch.c
===================================================================
--- source/common/launch.c (revision 286)
+++ source/common/launch.c (working copy)
@@ -472,7 +472,7 @@
static char pypath[2*_MAX_PATH + 14];
int pathlen = 1;
int i;
- char cmd[80];
+ char cmd[_MAX_PATH+1+80];
char tmp[_MAX_PATH+1];
PyObject *py_argv;
PyObject *val;
_______________________________________________
PyInstaller mailing list
[email protected]
http://lists.hpcf.upr.edu/mailman/listinfo/pyinstaller