From: Dan Carpenter
Date: Wed, 13 Feb 2019 11:56:50 +0300
> We need to set the error code on this path otherwise we return
> ERR_PTR(0) which would result in a NULL dereference in the caller.
>
> Fixes: 9069a3817d82 ("lib: objagg: implement optimization hints assembly and
> use hints for object
Wed, Feb 13, 2019 at 09:56:50AM CET, dan.carpen...@oracle.com wrote:
>We need to set the error code on this path otherwise we return
>ERR_PTR(0) which would result in a NULL dereference in the caller.
>
>Fixes: 9069a3817d82 ("lib: objagg: implement optimization hints assembly and
>use hints for ob
We need to set the error code on this path otherwise we return
ERR_PTR(0) which would result in a NULL dereference in the caller.
Fixes: 9069a3817d82 ("lib: objagg: implement optimization hints assembly and
use hints for object creation")
Signed-off-by: Dan Carpenter
---
lib/objagg.c | 4 +++-