WSL2-Linux-Kernel/drivers/staging/unisys
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
..
Documentation staging: unisys: ABI documentation for new sysfs entries 2014-07-24 15:07:59 -07:00
include staging: unisys: define structures outside of iochannel 2015-06-16 14:33:51 -07:00
visorbus staging: unisys: visorchannel_write() fix potential memory corruption 2015-06-16 14:36:39 -07:00
visornic staging: unisys: Add s-Par visornic ethernet driver 2015-06-16 14:34:55 -07:00
Kconfig staging: unisys: Add s-Par visornic ethernet driver 2015-06-16 14:34:55 -07:00
MAINTAINERS staging: s-Par driver documentation 2014-03-04 17:04:28 -08:00
Makefile staging: unisys: Add s-Par visornic ethernet driver 2015-06-16 14:34:55 -07:00
TODO staging: unisys: update MAINTAINERS and TODO 2014-03-08 22:42:14 -08:00