[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101006121119.GA11681@bicker>
Date: Wed, 6 Oct 2010 14:11:20 +0200
From: Dan Carpenter <error27@...il.com>
To: Armin Schindler <armin@...ware.de>
Cc: Karsten Keil <isdn@...ux-pingi.de>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] eicon: make buffer larger
On Wed, Oct 06, 2010 at 10:44:47AM +0200, Armin Schindler wrote:
>> 927 strcpy (clients[id].drvName, tmp);
>> 928 strcpy (clients[id].Dbg.drvName, tmp);
>> ^
>> this buffer is only 16 chars
>
> Now I understand. You are right. So the fix would be to change these
> strcpy() to e.g. strncpy() or similar.
>
We need more than 16 characters to store the information. What is the
problem with just making the buffer larger?
regards,
dan carpenter
> Armin
--
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