[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111129.184000.916136138216921151.davem@davemloft.net>
Date: Tue, 29 Nov 2011 18:40:00 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: eric.dumazet@...il.com, isdn@...ux-pingi.de,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch v2] isdn: make sure strings are null terminated
From: Dan Carpenter <dan.carpenter@...cle.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@...cle.com>
> ---
> v2: use strnlen() instead of strlen().
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists