[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 ___ ___ Python-bugs-list mailing list

[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) https://github.com/python/cpython/commit/69ea4b4deb123c9a3c986b7afb85183732784f4f -- resolution:

[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 ___ ___ Python-bugs-list mail

[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 'PyCursesWindow_Box': /home/hay

[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) https://github.com/python/cpython/commit/b694770a

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-01 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4190 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[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) https://github.com/python/cpython/commit/aad7ac10

[issue27666] "stack smashing detected" in PyCursesWindow_Box

2017-11-01 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4189 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[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 ___ ___ Python-bu

[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 ___ ___ Python-bugs-list m

[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 ___ ___ Python-bugs-list mailing li

[issue27666] "stack smashing detected" in PyCursesWindow_Box

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

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