[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190213.221348.256498581984900019.davem@davemloft.net>
Date: Wed, 13 Feb 2019 22:13:48 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: jiri@...lanox.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 3/3 net-next] test_objagg: Uninitialized variable in
error handling
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Wed, 13 Feb 2019 11:59:31 +0300
> We need to set the error message on this path otherwise some of the
> callers, such as test_hints_case(), print from an uninitialized pointer.
>
> We had a similar bug earlier and set "errmsg" to NULL in the caller,
> test_delta_action_item(). That code is no longer required so I have
> removed it.
>
> Fixes: 9069a3817d82 ("lib: objagg: implement optimization hints assembly and use hints for object creation")
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied.
Powered by blists - more mailing lists