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.
Loading
Please register or sign in to comment