Posted: Thu Dec 28, 2006 12:41 pm Post subject: SplitWords can hang the server (POL097-2006-10-29)
Hi,
if you use SplitWords with a custom delimiter on a string that begins
with that delimiter, it will permanently hang the server ("No clock
movement"). You can use the following text command to reproduce it:
Quote:
program testbug()
var teststring := "* ";
var testarray := SplitWords(teststring, "*");
print (testarray);
endprogram
It will not hang if teststring is " *" or " * ".
Xandros
Author
Message
Shinigami POL Core Developer
Joined: 30 Jan 2006 Posts: 292 Location: Germany, Bavaria
Posted: Fri Dec 29, 2006 5:43 am Post subject:
reviewed and problematic part found in code. but I can't test it here.
this part should hang server too if u use teststring := "abc ** def" (double * without any char between). can u check it for me? ;o)