[Date Prev][Date Next]
(ITS#5122) back-bdb occasionally allows bogus numeric values
Full_Name: Pierangelo Masarati
Version: since back-config
Submission from: (NULL) (126.96.36.199)
Submitted by: ando
Setting a negative number for cachesize causes an assertion in ch_calloc(); for
idlcachesize is just accepted; same for most remaining numeric data.
A neat solution would be to define ARG_UINT/ARG_ULONG, redefine types as
appropriate (now they're ints, but the negative value has no meaning or causes
crash). There seems to be room for 8 more types in the type mask.
Not a showstopper, though.