[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for catching this Victor. -- ___ Python tracker ___

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 69ea4b4deb123c9a3c986b7afb85183732784f4f by Serhiy Storchaka in branch '2.7': Fix bpo-27666 backporting error in _cursesmodule.c (#4305)

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-06 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +4268 stage: resolved -> patch review ___ Python tracker ___

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-06 Thread STINNER Victor
STINNER Victor added the comment: The Python 2.7 backport (commit b694770a2b23cd485c98bf673a8b2dc1a865d9df) is wrong. The _curses module cannot be compiled anymore: Example of compilation errors: /home/haypo/prog/python/2.7/Modules/_cursesmodule.c: In function

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset b694770a2b23cd485c98bf673a8b2dc1a865d9df by Serhiy Storchaka (Miss Islington (bot)) in branch '2.7': bpo-27666: Fixed stack corruption in curses.box() and curses.ungetmouse(). (GH-4220) (#4222)

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-01 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4190 ___ Python tracker ___

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset aad7ac10af6ed40fc21b842e04be0b04b2915d4a by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': bpo-27666: Fixed stack corruption in curses.box() and curses.ungetmouse(). (GH-4220) (#4221)

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-01 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4189 ___ Python tracker ___

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka versions: +Python 3.6, Python 3.7 ___ Python tracker ___

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your patch Steve. It is better to use PyCurses_ConvertToChtype() which is used for parsing all chtype arguments. -- ___ Python tracker

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +4188 stage: needs patch -> patch review ___ Python tracker ___

[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

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2016-08-02 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +serhiy.storchaka stage: -> needs patch ___ Python tracker ___

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2016-08-02 Thread SilentGhost
Changes by SilentGhost : -- components: +Extension Modules -Library (Lib) nosy: +twouters ___ Python tracker ___

[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,horint",