linux-uconsole/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
..
act2000 ISDN: ARRAY_SIZE changes 2009-07-25 20:23:05 +02:00
capi headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
divert headers: remove sched.h from poll.h 2009-10-04 15:05:10 -07:00
gigaset gigaset: prune use of tty_buffer_request_room 2010-04-01 15:58:24 -07:00
hardware mISDN: fix error return in HFCmulti_init() 2009-11-15 21:18:13 -08:00
hisax Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2009-11-09 09:51:42 -08:00
hysdn headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
i4l Revert "isdn: isdn_ppp: Use SKB list facilities instead of home-grown implementation." 2009-11-15 22:23:47 -08:00
icn fix ! versus & precedence in various places 2008-02-06 10:40:59 -08:00
isdnloop drivers/isdn: correct use of ! and & 2008-03-04 16:35:16 -08:00
mISDN misdn: Fix reversed 'if' in st_own_ctrl 2009-11-04 08:27:09 -08:00
pcbit headers: remove sched.h from interrupt.h 2009-10-11 11:20:58 -07:00
sc isdn: fix information leak 2010-08-26 16:41:51 -07:00
Kconfig ISDN: Make isdnhdlc usable for other ISDN drivers 2009-07-25 20:15:21 +02:00
Makefile mISDN fix main ISDN Makefile 2008-08-02 16:28:20 +02:00