INN commit: trunk/tests (6 files)
Julien ÉLIE
julien at trigofacile.com
Wed Aug 1 20:26:25 UTC 2007
En réponse à Russ Allbery :
>> + test_error(6, "Resolver error 1000000", 1000000);
>> + test_error(7, "Resolver error -100000", -100000);
>
> I'm not sure you can overflow that buffer on a 32-bit machine.
A long int is not long enough to do that, indeed.
> and I see from inspection that
> what would actually happen is that the error message would be truncated.
Yes, thanks to snprintf().
> You could probably just drop those last two tests; I don't think they're
> doing anything for us.
Done.
--
Julien ÉLIE
« Passion is inversely proportional to the amount of real information available. »
(Benford's law)
More information about the inn-workers
mailing list