Fixed potential segfault

This commit is contained in:
Andreas Schneider 2015-09-25 14:52:52 +02:00
parent 1cfe8ec420
commit c3c26681e1
2 changed files with 2 additions and 1 deletions

View File

@ -287,7 +287,7 @@ begin
else else
checkStart := bufPos; checkStart := bufPos;
for i := checkStart to bufMax do for i := checkStart to bufMax - 1 do
begin begin
if b[i] = #10 then if b[i] = #10 then
begin begin

View File

@ -52,6 +52,7 @@
<RunParams> <RunParams>
<local> <local>
<FormatVersion Value="1"/> <FormatVersion Value="1"/>
<CommandLineParams Value="-c example.filter --poll"/>
</local> </local>
</RunParams> </RunParams>
<Units Count="4"> <Units Count="4">