netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: dan.carpenter@oracle.com
Cc: eric.dumazet@gmail.com, isdn@linux-pingi.de,
	netdev@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [patch v2] isdn: make sure strings are null terminated
Date: Tue, 29 Nov 2011 18:40:00 -0500 (EST)	[thread overview]
Message-ID: <20111129.184000.916136138216921151.davem@davemloft.net> (raw)
In-Reply-To: <20111124124149.GH3195@mwanda>

From: Dan Carpenter <dan.carpenter@oracle.com>
Date: Thu, 24 Nov 2011 15:41:49 +0300

> These strings come from the user.  We strcpy() them inside
> cf_command() so we should check that they are NULL terminated and
> return an error if not.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> ---
> v2: use strnlen() instead of strlen().

Applied.

  reply	other threads:[~2011-11-29 23:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-23  6:42 [patch] isdn: make sure strings are null terminated Dan Carpenter
2011-11-23  7:03 ` Eric Dumazet
2011-11-23  7:16   ` Dan Carpenter
2011-11-24 12:41   ` [patch v2] " Dan Carpenter
2011-11-29 23:40     ` David Miller [this message]
2011-11-23  8:25 ` [patch] " walter harms
2011-11-24 11:34   ` Dan Carpenter
2011-11-24 12:21     ` walter harms
2011-11-24 12:30       ` David Laight
2011-11-24 13:17       ` Karsten Keil

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=20111129.184000.916136138216921151.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=dan.carpenter@oracle.com \
    --cc=eric.dumazet@gmail.com \
    --cc=isdn@linux-pingi.de \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).