Skip to content
Snippets Groups Projects
Commit 0541ce21 authored by Gregor Jasny's avatar Gregor Jasny Committed by Brad King
Browse files

SystemTools: Fix off-by-one in GetLineFromStream with size limit

Logic for the size limit argument added by commit 521c5483 (added a
limit to the getline method, 2007-03-01) had an off-by-one error in
truncating the buffer.  Fix it and add a test case.
parent 95a7e234
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment