Files
linux/drivers/char
Amit Shah 65745422a8 virtio: console: Prevent userspace from submitting NULL buffers
A userspace could submit a buffer with 0 length to be written to the
host.  Prevent such a situation.

This was not needed previously, but recent changes in the way write()
works exposed this condition to trigger a virtqueue event to the host,
causing a NULL buffer to be sent across.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
CC: stable@kernel.org
2010-09-21 10:54:01 +09:30
..
2009-09-24 07:21:03 -07:00
2010-08-16 23:44:49 -06:00
2010-08-10 13:47:40 -07:00
2010-05-17 03:06:12 +02:00
2010-08-10 13:47:40 -07:00
2010-08-12 08:43:29 -07:00
2009-12-10 22:55:36 +01:00
2010-08-10 13:47:45 -07:00
2010-08-10 13:47:43 -07:00
2010-08-10 13:47:39 -07:00
2010-08-11 08:59:23 -07:00
2010-05-27 09:12:50 -07:00
2010-08-18 08:35:47 -04:00
2010-05-27 09:12:50 -07:00
2010-08-10 13:47:40 -07:00
2010-08-23 18:17:21 -07:00
2009-02-22 09:23:02 -08:00
2010-08-10 13:47:44 -07:00
2010-08-10 13:47:40 -07:00
2010-08-10 13:47:43 -07:00
2009-10-14 17:36:53 +02:00
2010-01-04 12:31:21 -08:00
2010-08-10 13:47:44 -07:00