mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Rientjes <rientjes@google.com>
To: Vincent Li <macli@brc.ubc.ca>
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] fs/proc/task_mmu.c v1: fix clear_refs_write() input sanity check
Date: Thu, 13 Aug 2009 01:36:54 -0700 (PDT)	[thread overview]
Message-ID: <alpine.DEB.2.00.0908130136440.4418@chino.kir.corp.google.com> (raw)
In-Reply-To: <1250119794-8016-1-git-send-email-macli@brc.ubc.ca>

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>

      parent reply	other threads:[~2009-08-13  8:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-12 23:29 Vincent Li
2009-08-13  2:09 ` Amerigo Wang
2009-08-13  5:20   ` Vincent Li
2009-08-13  8:45     ` Amerigo Wang
2009-08-13 20:12       ` David Rientjes
2009-08-13  8:36 ` David Rientjes [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.00.0908130136440.4418@chino.kir.corp.google.com \
    --to=rientjes@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=macli@brc.ubc.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®