Mercurial > octave
view .hgsubstate @ 21492:db67dc54fa2c
textscan: Avoid buffer out-of-bounds errors in delimited_stream
* textscan.cc (delimited_stream::get, delimited_stream::peek,
delimited_stream::putback): Check for eof before advancing, rewinding, or
dereferencing the pointer into the stream buffer.
author | Mike Miller <mtmiller@octave.org> |
---|---|
date | Fri, 18 Mar 2016 17:38:38 -0700 |
parents | 98ecd9dba90f |
children | 30bf9a4d467a |