[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20121002.224142.1359092826405265517.davem@davemloft.net>
Date: Tue, 02 Oct 2012 22:41:42 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: eilong@...adcom.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch] bnx2x: use strlcpy() to copy a string
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Tue, 2 Oct 2012 14:47:46 +0300
> DRV_MODULE_VERSION is smaller than the ->version buffer so the memcpy()
> copies 1 byte past the end of the string. It's not super harmful, but
> it makes the static checkers complain.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied, thanks Dan.
--
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