Data Realms Fan Forums
http://45.55.195.193/

Game vulnerable to infinite loops
http://45.55.195.193/viewtopic.php?f=72&t=12050
Page 1 of 1

Author:  Daman [ Sun Aug 24, 2008 12:04 am ]
Post subject:  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.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/