Message211252
| 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:11 | tfiala | set | recipients:
+ tfiala |
| 2014年02月15日 00:12:11 | tfiala | set | messageid: <1392423131.28.0.0178138253347.issue20631@psf.upfronthosting.co.za> |
| 2014年02月15日 00:12:11 | tfiala | link | issue20631 messages |
| 2014年02月15日 00:12:10 | tfiala | create |
|