Re: +vsprintf-reuse-almost-identical-simple_strtoulx-functions.patch added to-mm tree

From: Alexey Dobriyan
Date: Fri Dec 04 2009 - 18:14:04 EST


On Fri, Dec 04, 2009 at 02:32:06PM -0800, akpm@xxxxxxxxxxxxxxxxxxxx wrote:
> The difference between simple_strtoul() and simple_strtoull() is just
> the size of the variable used to keep track of the sum of characters
> converted to numbers:
>
> unsigned long simple_strtoul() {...}
> unsigned long long simple_strtoull(){...}

> Overflow condition is not checked on both functions,

and we should start doing it and remove strict_* idiocy.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/