Re: [patch] [media] rc/redrat3: dereferencing null pointer

2011-05-26 Thread Jarod Wilson
Dan Carpenter wrote: In the original code, if the allocation failed we dereference "rr3" when it was NULL. D'oh, yeah, thanks for the fix. Acked-by: Jarod Wilson -- Jarod Wilson ja...@redhat.com -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a mess

[patch] [media] rc/redrat3: dereferencing null pointer

2011-05-26 Thread Dan Carpenter
In the original code, if the allocation failed we dereference "rr3" when it was NULL. Signed-off-by: Dan Carpenter diff --git a/drivers/media/rc/redrat3.c b/drivers/media/rc/redrat3.c index 5147767..4582ef7 100644 --- a/drivers/media/rc/redrat3.c +++ b/drivers/media/rc/redrat3.c @@ -1186,7 +1186