linux-stable/drivers/staging/unisys/visorbus
Jes Sorensen 56df900cb4 staging: unisys: visorchannel_write() fix potential memory corruption
This fixes the memory corruption case, if nbytes is less than offset
and sizeof(struct channel_header)

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-06-16 14:36:39 -07:00
..
Kconfig staging: unisys: fix visorbus Kconfig 2015-05-08 15:27:32 +02:00
Makefile staging: unisys: Remove temporarily added visorbus/ include in Makefile 2015-05-24 13:28:55 -07:00
controlvmchannel.h staging: unisys: Move channel.h to include. Controvlm to visorbus 2015-05-24 13:28:54 -07:00
controlvmcompletionstatus.h staging: unisys: Move files out of common-spar 2015-05-24 13:28:54 -07:00
iovmcall_gnuc.h staging: unisys: move hypervisor calls into visorbus 2015-05-24 13:28:54 -07:00
periodic_work.c staging: unisys: use schedule_timeout_interruptible() 2015-06-02 14:24:31 +09:00
vbuschannel.h staging: unisys: vbuschannel belonsg to visorbus 2015-05-24 13:28:54 -07:00
vbusdeviceinfo.h staging: unisys: move hypervisor calls into visorbus 2015-05-24 13:28:54 -07:00
visorbus_main.c staging: unisys: Don't hold device responses until driver loads 2015-06-12 17:08:07 -07:00
visorbus_private.h staging: unisys: Convert device creation to use visor_device 2015-06-08 13:36:43 -07:00
visorchannel.c staging: unisys: visorchannel_write() fix potential memory corruption 2015-06-16 14:36:39 -07:00
visorchipset.c staging: unisys: fix "missing a blank line" coding style 2015-06-13 14:46:38 -07:00
vmcallinterface.h staging: unisys: Move phys_info to iochannel.h 2015-06-12 17:08:07 -07:00