Re: [PATCH] Check kmalloc return value before use the buffer

From: Steven Liu
Date: Fri May 07 2010 - 05:55:26 EST


Hi, guy,

Thanks for your help, :)


Best Regards


LiuQi

2010/5/7 Nigel Cunningham <nigel@xxxxxxxxxxxx>:
> Hi.
>
> On 07/05/10 19:50, Steven Liu wrote:
>>
>> Check kmalloc return value before use the bigrxbuf_virtual ,when
>> bigrxbuf_virtual is NULL, kfree  bigtxbuf_virtual
>
> Ta :)
>
> Nigel
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/