Commit 0541ce21 authored by Committed by Brad KingBrowse 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.
Showing with 54 additions and 1 deletion