diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-12-09 21:51:45 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-12-09 21:51:45 -0800 |
commit | 4632c71d8f883fa5a4b208673b1b36e83e3e8c41 (patch) | |
tree | 592529a51cd5b0ce0e38e92094fe3057263b6e4d /configure | |
parent | 2ea79e9094475dfe36f9291d98765dfb74151155 (diff) | |
download | txr-4632c71d8f883fa5a4b208673b1b36e83e3e8c41.tar.gz txr-4632c71d8f883fa5a4b208673b1b36e83e3e8c41.tar.bz2 txr-4632c71d8f883fa5a4b208673b1b36e83e3e8c41.zip |
Bugfix: crash in get_line.
Incorrect, irrelevant handle test inside stdio_get_line
virtual function fails to detect closed stream, leading
to a null pointer passed to the stdio library.
* stream.c (snarf_line): Rewrite according to pattern
followed by the other functions. We must test h->f for
null, not stream->co.handle, which never goes null
until the object is being reclaimed by gc.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions