Author Topic: Console doesn't sanitize inputs RESOLVED 2.43.1e  (Read 3012 times)

Offline abyaly

  • Bot Destroyer
  • ***
  • Posts: 363
    • View Profile
Console doesn't sanitize inputs RESOLVED 2.43.1e
« on: March 18, 2008, 09:33:08 PM »
DB explodes when large values are assigned to a var through the console
« Last Edit: March 19, 2008, 01:45:21 PM by EricL »
Lancre operated on the feudal system, which was to say, everyone feuded all
the time and handed on the fight to their descendants.
        -- (Terry Pratchett, Carpe Jugulum)

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Console doesn't sanitize inputs RESOLVED 2.43.1e
« Reply #1 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....
Many beers....

Offline abyaly

  • Bot Destroyer
  • ***
  • Posts: 363
    • View Profile
Console doesn't sanitize inputs RESOLVED 2.43.1e
« Reply #2 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)
Lancre operated on the feudal system, which was to say, everyone feuded all
the time and handed on the fight to their descendants.
        -- (Terry Pratchett, Carpe Jugulum)

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Console doesn't sanitize inputs RESOLVED 2.43.1e
« Reply #3 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.

Many beers....

Offline EricL

  • Administrator
  • Bot God
  • *****
  • Posts: 2266
    • View Profile
Console doesn't sanitize inputs RESOLVED 2.43.1e
« Reply #4 on: March 19, 2008, 01:45:41 PM »
Fixed in 2.43.1e.
Many beers....