diff options
author | oni-link <knil.ino@gmail.com> | 2015-08-15 11:36:14 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-08-16 14:09:29 -0400 |
commit | db7b970057c92127624ebafa7affaf77fdff6750 (patch) | |
tree | 18534593b69f97f2e0cda79e0631f3320aa92eec /runtime/autoload/provider/script_host.py | |
parent | 2bd3351c37bb916086f791b3f0e8bef960ce7b25 (diff) | |
download | rneovim-db7b970057c92127624ebafa7affaf77fdff6750.tar.gz rneovim-db7b970057c92127624ebafa7affaf77fdff6750.tar.bz2 rneovim-db7b970057c92127624ebafa7affaf77fdff6750.zip |
rstream.c: Prevent stream closing if a read event is still queued. #3172
Processing a stream's output can be queued. If stream_close() is called
before the queue is processed, the RBuffer containing the stream's data
is freed and the next read event would try to access freed memory.
To fix this behavior, use the stream's pending requests counter.
Diffstat (limited to 'runtime/autoload/provider/script_host.py')
0 files changed, 0 insertions, 0 deletions