View unanswered posts | View active topics It is currently Sat Oct 19, 2019 11:06 am



Reply to topic  [ 1 post ] 
 Game vulnerable to infinite loops 
Author Message
User avatar

Joined: Fri Jan 26, 2007 3:22 am
Posts: 1451
Reply with quote
Post Game vulnerable to infinite loops
Most programs would auto-break on an infinite loop. I suggest CC should too. While normal Lua needs a main while loop to run, embedded does not. It uses the game for that.

while true do print("DONGS"); end

That'll freeze the game FOREVER.


Sun Aug 24, 2008 12:04 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.014s | 15 Queries | GZIP : Off ]