Files
linux/drivers/tty/hvc
Dan Carpenter bdb595b4a9 tty: hvc_xen: NULL dereference on allocation failure
If kzalloc() returns a NULL here, we pass a NULL to
xencons_disconnect_backend() which will cause an Oops.

Also I removed the __GFP_ZERO while I was at it since kzalloc() implies
__GFP_ZERO.

Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Stefano Stabellini <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2012-05-15 08:48:45 -07:00
..
2012-01-26 17:14:50 -08:00
2012-04-13 10:54:43 -07:00
2011-09-22 16:08:57 -07:00
2011-03-31 11:26:23 -03:00
2011-11-06 22:21:18 -08:00
2012-01-26 17:14:50 -08:00
2012-04-09 11:28:21 -07:00
2012-04-09 11:28:18 -07:00
2012-04-09 11:28:26 -07:00
2012-03-09 10:35:17 +11:00