|author||John Mark Bell <email@example.com>||2009-01-06 12:39:56 +0000|
|committer||John Mark Bell <firstname.lastname@example.org>||2009-01-06 12:39:56 +0000|
Fix potential read beyond available input data when processing \r in some states.
What happened was that, given \rabc, we would advance past the \r, then read at current_offset + len (len == 1). I.E. read 'b' instead of 'a'. If the data in the inputstream's internal buffer happened to end immediately after the \r, then we'd read past the end of the buffer thanks to a bug in lpu_inputstream_peek which was fixed in r5965. In any case, we'd still be looking at the wrong character when looking for CRLF pairs. All regression tests now pass again. svn path=/trunk/hubbub/; revision=5967
Diffstat (limited to 'perf/README')
0 files changed, 0 insertions, 0 deletions