rejetto forum
Software => HFS ~ HTTP File Server => Beta => Topic started by: rejetto on March 05, 2008, 05:19:21 PM
-
I'm sorry for the last build :P
it's always the same story, publishing at 5AM is not safe
download @ www.dovedove.it/hfs/hfs182.exe
what's new
- AV on every connection, introduced in build #181
-
hello
same trouble than 181
create a new folder, rename it.....make crash HFS and disapear
from an empty HFS without template
good luck for 183
-
create a new folder, rename it.....make crash HFS.......
yeah i just reproduced this error... mine did the same thing.. no log was created btw..
tusken
-
No connection over the i-net possible.
The same think happens by me if i rename a folder the cpu needs 100% and the service hang. ???
-
create a new folder, rename it.....make crash HFS and disapear
The problem comes from the usage of two infinite buckles in a function: " until false " on the place of "until i=0"
Without wanting to offend Rejetto, here is a link towards the same version with the corrected bug as indicated
http://hfs.webhop.org/hfs182b.exe (http://hfs.webhop.org/hfs182b.exe)
function anyMacroMarkerIn(s:string):boolean;
var
i, l: integer;
begin
result:=TRUE;
if pos('|', s) > 0 then exit;
l:=length(s);
i:=0;
// search for {. and .}
repeat
i:=posEx('.', s, i+1);
if (i > 0) and ((s[i-1] = '{') or (i < l) and (s[i+1] = '}')) then exit;
until false i=0;
// search for {: and :}
repeat
i:=posEx(':', s, i+1);
if (i > 0) and ((s[i-1] = '{') or (i < l) and (s[i+1] = '}')) then exit;
until false i=0;
result:=FALSE;
end; // anyMacroMarkerIn
-
Thank you mars :) this appears to work.
-
holy sheet, this lack of time is becoming a plague
thanks for addressing mars