[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101006.233052.233715980.davem@davemloft.net>
Date: Wed, 06 Oct 2010 23:30:52 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: error27@...il.com
Cc: mac@...ware.de, 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
From: Dan Carpenter <error27@...il.com>
Date: Mon, 4 Oct 2010 21:24:59 +0200
> In diva_mnt_add_xdi_adapter() we do this:
> strcpy (clients[id].drvName, tmp);
> strcpy (clients[id].Dbg.drvName, tmp);
>
> The "clients[id].drvName" is a 128 character buffer and
> "clients[id].Dbg.drvName" was originally a 16 character buffer but I've
> changed it to 128 as well. We don't actually use 128 characters but we
> do use more than 16.
>
> I've also changed the size of "tmp" to 128 characters instead of 256.
>
> Signed-off-by: Dan Carpenter <error27@...il.com>
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