View unanswered posts | View active topics It is currently Sat Jul 11, 2020 1:32 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
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: Bebomonkey01, Zacharysuh

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.013s | 14 Queries | GZIP : Off ]