Configuration parser and integers

Julien ÉLIE julien at trigofacile.com
Sun Nov 1 17:06:17 UTC 2009


Hi,

The configuration parser defines numbers:
    integer = ["-"] 1*DIGIT
but a lot of them must be positive.

Should we do something about that at the level of the parser?
(defining a positive integer?)
or at the level of innconf_validate? (exiting if something
is bad)

or do nothing because it is the fault of the news admin?
INN will then probably crash (SERVER cant malloc 4294967292 bytes,
or something like that).

-- 
Julien ÉLIE

« -- Tu dois avoir un messager zélé autant qu'ailé
  pour faire rapidement le trajet.
  -- Oui ! et c'est une fine mouche ! » (Astérix) 




More information about the inn-workers mailing list