Darwinbots Forum

Code center => Bugs and fixes => Topic started by: abyaly on March 18, 2008, 09:33:08 PM

Title: Console doesn't sanitize inputs RESOLVED 2.43.1e
Post by: abyaly on March 18, 2008, 09:33:08 PM
DB explodes when large values are assigned to a var through the console
Title: Console doesn't sanitize inputs RESOLVED 2.43.1e
Post by: EricL on March 19, 2008, 02:18:11 AM
I've been closing these as they come to my attention but have not done a proactive test walk through trying to find them.  If you have a list of fields where this occurs, I'll take care of them....
Title: Console doesn't sanitize inputs RESOLVED 2.43.1e
Post by: abyaly on March 19, 2008, 10:59:59 AM
set (number) 60000

Is there really a value for which this doesn't crash DB?
Seems to me all of the vars are restricted to signed 2 byte range (as far as overflow is concerned)
Title: Console doesn't sanitize inputs RESOLVED 2.43.1e
Post by: EricL on March 19, 2008, 11:45:24 AM
Ah.  Thought you were referring to entry fields on the options dialog.  Not enough coffee....

I'll take care of this for 2.43.1e.

Title: Console doesn't sanitize inputs RESOLVED 2.43.1e
Post by: EricL on March 19, 2008, 01:45:41 PM
Fixed in 2.43.1e.