rejetto forum

Software => HFS ~ HTTP File Server => Beta => Topic started by: rejetto on March 05, 2008, 05:19:21 PM

Title: Testing build #182
Post 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
Title: Re: Testing build #182
Post by: jerome on March 05, 2008, 05:34:54 PM
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
Title: Re: Testing build #182
Post by: Tuskenraider on March 05, 2008, 07:20:45 PM
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
Title: Re: Testing build #182
Post by: Pit on March 05, 2008, 07:33:57 PM
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.  ???
Title: Re: Testing build #182 Corrective to filename bug
Post by: Mars on March 05, 2008, 11:45:16 PM
Quote
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)

Quote
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
Title: Re: Testing build #182
Post by: TSG on March 06, 2008, 03:13:18 AM
Thank you mars :) this appears to work.
Title: Re: Testing build #182
Post by: rejetto on March 06, 2008, 11:04:23 AM
holy sheet, this lack of time is becoming a plague

thanks for addressing mars