Re: [PATCH] fs/proc/task_mmu.c v1: fix clear_refs_write() inputsanity check
From: David Rientjes
Date: Thu Aug 13 2009 - 04:37:13 EST
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@xxxxxxxxxx>
Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
--
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/