Thread (3 messages) flat view 3 messages, 3 authors, 2012-05-21

Re: [patch] hvc_xen: NULL dereference on allocation failure

From: Konrad Rzeszutek Wilk <hidden>
Date: 2012-05-21 15:43:41
Also in: kernel-janitors, lkml

On Tue, May 15, 2012 at 11:20:23AM +0100, Stefano Stabellini wrote:
On Tue, 15 May 2012, Dan Carpenter wrote:
quoted
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 <redacted>
Acked-by: Stefano Stabellini <redacted>
applied.
 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help