Messages in this thread | | | Date | Thu, 13 Aug 2009 01:36:54 -0700 (PDT) | From | David Rientjes <> | Subject | Re: [PATCH] fs/proc/task_mmu.c v1: fix clear_refs_write() input sanity check |
| |
On Wed, 12 Aug 2009, Vincent Li wrote:
> v1 fix the compiling errors and keep the type variable name. > > Andrew Morton pointed out similar string hacking and obfuscated check for zero-length input > at the end of the function, David Rientjes suggested to use strict_strtol to replace > simple_strtol, this patch cover above suggestions, add removing of leading and trailing > whitespace from user input. It does not change function behavious. > > This patch is rebased on mmotm-2009-08-04-14-22. > > Signed-off-by: Vincent Li <macli@brc.ubc.ca>
Acked-by: David Rientjes <rientjes@google.com>
| |