Messages in this thread | | | Date | Sat, 5 Dec 2009 02:13:58 +0300 | From | Alexey Dobriyan <> | Subject | Re: + vsprintf-reuse-almost-identical-simple_strtoulx-functions.patch added to -mm tree |
| |
On Fri, Dec 04, 2009 at 02:32:06PM -0800, akpm@linux-foundation.org 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.
| |