[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20111129.184006.1024419970584749707.davem@davemloft.net>
Date: Tue, 29 Nov 2011 18:40:06 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: isdn@...ux-pingi.de, lucas.demarchi@...fusion.mobi,
nhorman@...driver.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch v2] isdn: avoid copying too long drvid
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Thu, 24 Nov 2011 15:42:09 +0300
> "cfg->drvid" comes from the user so there is a possibility they
> didn't NUL terminate it properly.
>
> 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