[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100805.132155.220076581.davem@davemloft.net>
Date: Thu, 05 Aug 2010 13:21:55 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: error27@...il.com
Cc: isdn@...ux-pingi.de, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch] isdn: fix information leak
From: Dan Carpenter <error27@...il.com>
Date: Thu, 5 Aug 2010 11:38:06 +0200
> The main motivation of this patch changing strcpy() to strlcpy().
> We strcpy() to copy a 48 byte buffers into a 49 byte buffers. So at
> best the last byte has leaked information, or maybe there is an
> overflow? Anyway, this patch closes the information leaks by zeroing
> the memory and the calls to strlcpy() prevent overflows.
>
> 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