diff options
author | Lawrence D'Anna <lawrence_danna@apple.com> | 2019-10-09 18:43:03 +0000 |
---|---|---|
committer | Lawrence D'Anna <lawrence_danna@apple.com> | 2019-10-09 18:43:03 +0000 |
commit | 609010d0631a9329b6b0a68cb8a5e0dcb28797f8 (patch) | |
tree | 28eefb05f2093a8421b3e90ab00c633c172f554f /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | 746174706b22a506e6baac339c3fcce0cce24063 (diff) | |
download | bcm5719-llvm-609010d0631a9329b6b0a68cb8a5e0dcb28797f8.tar.gz bcm5719-llvm-609010d0631a9329b6b0a68cb8a5e0dcb28797f8.zip |
protect libedit and LLDB gui from receiving null FILE* streams
Summary:
We now have valid files that will return NULL from GetStream().
libedit and the LLDB gui are the only places left that need FILE*
streams. Both are doing curses-like user interaction that only
make sense with a real terminal anyway, so there is no need to convert
them off of their use of FILE*. But we should check for null streams
before enabling these features.
Reviewers: JDevlieghere, jasonmolenda, labath
Reviewed By: JDevlieghere, labath
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68677
llvm-svn: 374197
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions