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 <dan.carpenter@oracle.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-05-15 08:48:45 -07:00
..
2012-05-15 08:48:45 -07:00
2012-04-09 11:30:39 -07:00
2012-05-14 09:04:28 -07:00
2012-05-14 09:04:28 -07:00
2012-05-07 16:46:53 -07:00
2012-04-09 11:28:18 -07:00
2012-05-04 16:58:47 -07:00
2012-03-08 11:37:58 -08:00
2012-03-30 16:03:15 -07:00
2012-02-24 16:11:50 -08:00
2011-08-23 10:32:56 -07:00
2012-03-28 18:30:03 +01:00
2011-02-22 16:14:56 -08:00
2012-05-04 16:42:14 -07:00
2011-03-31 11:26:23 -03:00
2012-03-08 11:37:58 -08:00
2012-03-28 18:30:03 +01:00
2012-05-04 16:58:47 -07:00
2011-05-13 16:31:00 -07:00
2011-05-13 16:31:00 -07:00
2011-05-13 16:31:00 -07:00
2012-04-29 22:13:54 -04:00
2012-03-08 11:37:58 -08:00
2012-05-09 14:40:27 -07:00
2011-02-22 16:14:56 -08:00
2012-03-08 11:42:21 -08:00
2011-02-22 16:14:56 -08:00
2012-05-04 16:58:47 -07:00
2012-05-04 16:58:47 -07:00
2012-05-04 16:58:47 -07:00
2012-04-05 15:25:50 -07:00
2011-03-07 12:04:50 -08:00
2012-04-09 12:12:45 -07:00
2012-05-04 16:58:47 -07:00
2012-03-28 18:30:03 +01:00
2012-05-10 11:24:03 -07:00
2012-05-04 16:58:47 -07:00
2012-05-04 16:58:47 -07:00