Files
linux/drivers/isdn
Dan Carpenter 5ed2fa21d2 isdn: fix information leak
[ Upstream commit 4b030d4288 ]

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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-26 16:41:51 -07:00
..
2009-07-25 20:23:05 +02:00
2010-08-26 16:41:51 -07:00
2008-08-02 16:28:20 +02:00