[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1269272627.22616.35.camel@Joe-Laptop.home>
Date: Mon, 22 Mar 2010 08:43:47 -0700
From: Joe Perches <joe@...ches.com>
To: Dan Carpenter <error27@...il.com>
Cc: Takashi Iwai <tiwai@...e.de>,
Mauro Carvalho Chehab <mchehab@...radead.org>,
Srinivasa Deevi <srinivasa.deevi@...exant.com>,
linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch v2] cx231xx: card->driver "Conexant cx231xx Audio" too
long
On Mon, 2010-03-22 at 18:39 +0300, Dan Carpenter wrote:
> card->driver is 15 characters and a NULL, the original code could
> cause a buffer overflow.
> In version 2, I used a better name that Takashi Iwai suggested.
Perhaps it's better to use strncpy as well.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists