[PATCH] devargs: Fix rte_devargs_parse uninitialized calls
Gaëtan Rivet
grive at u256.net
Wed Feb 16 18:12:40 CET 2022
On Tue, Feb 15, 2022, at 16:27, David Marchand wrote:
> On Thu, Feb 10, 2022 at 6:01 PM Gaetan Rivet <grive at u256.net> wrote:
>>
>> The function rte_devargs_parse() previously was safe to call with
>> non-initialized devargs structure as parameter.
>>
>> When adding the support for the global device syntax,
>> this assumption was broken. Restore it by forcing memset as part of
>> the call itself.
>>
>> Bugzilla Id: 933
>
> Nit: Bugzilla ID*
>
>> Fixes: b344eb5d941a ("devargs: parse global device syntax")
>
> We need a backport in 21.11, right?
Hi David, yes it should be in 21.11 as well.
--
Gaetan Rivet
More information about the dev
mailing list