homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tfiala
Recipients tfiala
Date 2014年02月15日.00:12:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392423131.28.0.0178138253347.issue20631@psf.upfronthosting.co.za>
In-reply-to
Content
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 is not guaranteed to
be true of the history_get function, and causes the readline module to
crash when it hits this condition.
I'm attaching a patch to the Python 2.7.6 source code that addresses
this issue. It adds an explicit NULL test of the history_get() return
value before accessing it.
This issue was discovered in top of tree LLDB (LLVM.org debugger project). See here for details:
http://llvm.org/bugs/show_bug.cgi?id=18841 
History
Date User Action Args
2014年02月15日 00:12:11tfialasetrecipients: + tfiala
2014年02月15日 00:12:11tfialasetmessageid: <1392423131.28.0.0178138253347.issue20631@psf.upfronthosting.co.za>
2014年02月15日 00:12:11tfialalinkissue20631 messages
2014年02月15日 00:12:10tfialacreate

AltStyle によって変換されたページ (->オリジナル) /