PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
SplitWords can hang the server (POL097-2006-10-29)

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    PenUltima Online Forum Index -> Bug Reports 097
Display posts from previous:   

Author Message
Xandros



Joined: 17 Feb 2006
Posts: 76

PostPosted: Thu Dec 28, 2006 12:41 pm    Post subject: SplitWords can hang the server (POL097-2006-10-29) Reply with quote

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

PostPosted: Fri Dec 29, 2006 5:43 am    Post subject: Reply with quote

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)

thx, Shinigami

Author Message
Xandros



Joined: 17 Feb 2006
Posts: 76

PostPosted: Fri Dec 29, 2006 11:27 am    Post subject: Reply with quote

Shinigami wrote:

this part should hang server too if u use teststring := "abc ** def" (double * without any char between). can u check it for me? ;o)


You are correct, this also hangs the server.

Xandros

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Fri Dec 29, 2006 5:26 pm    Post subject: Reply with quote

ok, thx... fixed within cvs

Shinigami

Post new topic   This topic is locked: you cannot edit posts or make replies.    PenUltima Online Forum Index -> Bug Reports 097 All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty