[SSSD] [PATCH] Properly detect negative/invalid values for the minId and maxId
Simo Sorce
ssorce at redhat.com
Thu Sep 10 21:32:14 UTC 2009
On Thu, 2009-09-10 at 17:22 -0400, Stephen Gallagher wrote:
> One more patch. I simplified the logic (don't need to check for
> overflow
> or underflow because if checking whether it's larger than INT32_MAX is
> sufficient.
>
> Also modified it so that it always passes errno back from strtoll
> unless
> we manually set it to ERANGE.
>
> Finally, modified the use of the function in the confdb to always test
> for errno.
ack and pushed
Simo.
--
Simo Sorce * Red Hat, Inc * New York
More information about the sssd-devel
mailing list