INN commit: trunk/tests (6 files)
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.
« Passion is inversely proportional to the amount of real information available. »
More information about the inn-workers