Fixed potential segfault
This commit is contained in:
2
UApp.pas
2
UApp.pas
@@ -287,7 +287,7 @@ begin
|
||||
else
|
||||
checkStart := bufPos;
|
||||
|
||||
for i := checkStart to bufMax do
|
||||
for i := checkStart to bufMax - 1 do
|
||||
begin
|
||||
if b[i] = #10 then
|
||||
begin
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
<RunParams>
|
||||
<local>
|
||||
<FormatVersion Value="1"/>
|
||||
<CommandLineParams Value="-c example.filter --poll"/>
|
||||
</local>
|
||||
</RunParams>
|
||||
<Units Count="4">
|
||||
|
||||
Reference in New Issue
Block a user