android_kernel_xiaomi_sm8350/drivers/char/pcmcia
Roel Kluin 470967dc6c pcmcia: fix read buffer overflow
If count > 0 and dev->rlen == dev->rpos and dev->proto == 0 then we read
and write dev->rbuf[-1];

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Harald Welte <laforge@gnumonks.org>
Cc: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-09-22 07:17:42 -07:00
..
ipwireless tty: fix chars_in_buffers 2009-07-20 16:38:43 -07:00
cm4000_cs.c pcmcia: fix read buffer overflow 2009-09-22 07:17:42 -07:00
cm4040_cs.c device create: char: convert device_create_drvdata to device_create 2008-10-16 09:24:42 -07:00
cm4040_cs.h
Kconfig
Makefile
synclink_cs.c hdlc: convert to netdev_tx_t 2009-09-01 01:13:31 -07:00