Re: [PATCH 1/3 net-next] lib: objagg: Fix an error code in objagg_hints_get()

From
Jiri Pirko <jiri@resnulli.us>
Date
2019-02-13 13:25:13
Also in
kernel-janitors
Reply to
Dan Carpenter, 2019-02-13
Wed, Feb 13, 2019 at 09:56:50AM CET, dan.carpenter@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 object creation")
Signed-off-by: Dan Carpenter <redacted>
I have the same patch in my queue.

Acked-by: Jiri Pirko <redacted>
Thread (9 messages) 9 messages, 3 authors, last reply 2019-02-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help