[issue27666] "stack smashing detected" in PyCursesWindow_Box

2016-08-01 Thread Steve Fink
New submission from Steve Fink: When attempting to run |hg chistedit|, which uses the python curses module, I am getting *** stack smashing detected ***: /usr/bin/python terminated The problem is in PyCursesWindow_Box in _cursesmodule.c: if (!PyArg_ParseTuple(args,"ll;vertint,h

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2016-08-20 Thread Steve Fink
Steve Fink added the comment: I'm running now (successfully) with a simpler patch, just changing it to parse format 'i', but this patch is probably a bit safer. -- keywords: +patch Added file: http://bugs.python.org/file44174/python-2.7.12-curses-argparse.patch