[issue20631] python readline module crashing on NULL access

2017-03-23 Thread Martin Panter
Changes by Martin Panter : -- superseder: -> Make libedit support more generic; port readline / libedit to FreeBSD ___ Python tracker ___ __

[issue20631] python readline module crashing on NULL access

2017-03-23 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue20631] python readline module crashing on NULL access

2017-03-23 Thread Martin Panter
Martin Panter added the comment: Closing in favour of Issue 13501, since the report was apparently about using a non-Apple Editline rather than Gnu Readline. However see also Issue 29854, where the same symptom is seen with Gnu Readline, and it will probably get the same fix. -- statu

[issue20631] python readline module crashing on NULL access

2016-06-21 Thread Martin Panter
Martin Panter added the comment: I think an answer to Benjamin’s question is necessary to move this forward. The code already checks the index before calling history_get(). How do you manage to get null pointers returned for every history item? In the LLVM bug thread, I noticed “libedit” a.k.a

[issue20631] python readline module crashing on NULL access

2014-09-13 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue20631] python readline module crashing on NULL access

2014-09-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: Why does _py_get_history_length return a positive value if there's no line available? -- nosy: +benjamin.peterson ___ Python tracker ___ ___

[issue20631] python readline module crashing on NULL access

2014-09-12 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue20631] python readline module crashing on NULL access

2014-09-12 Thread Ismail Donmez
Ismail Donmez added the comment: Can we please get a review on this? -- nosy: +cartman ___ Python tracker ___ ___ Python-bugs-list mai

[issue20631] python readline module crashing on NULL access

2014-02-19 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> patch review versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list m

[issue20631] python readline module crashing on NULL access

2014-02-18 Thread Todd Fiala
Todd Fiala added the comment: Cleaned up the proposed patch a bit. Moves HIST_ENTRY* into a tighter block and removes the second call to history_get() since the value is already stashed in the NULL-checked local. -- Added file: http://bugs.python.org/file34137/python_2.7.6_module_rea

[issue20631] python readline module crashing on NULL access

2014-02-14 Thread koobs
Changes by koobs : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mail

[issue20631] python readline module crashing on NULL access

2014-02-14 Thread Todd Fiala
Changes by Todd Fiala : -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue20631] python readline module crashing on NULL access

2014-02-14 Thread Todd Fiala
New submission from Todd Fiala: Hi all, In working on the LLVM/LLDB project, I've been hitting a bug in the embedded interpreter that causes a NULL dereference in the Python readline module. There is a call to the history_get() function with an assumption that it returns a non-NULL value. This i