Re: [PATCH] dbus: fix use of `va_arg` with incorrect type

Denis Kenzior <[email protected]> Sat, 4 Jan 2025 20:12:34 -0600
Newsgroups dev.linux.lists.ell
Message-ID <[email protected]>
Hi Artem,

On 12/27/24 12:55 PM, Artem Sinkevich wrote:
> `rule_len` is computed by iterating over `enum l_dbus_match_type`
> (32-bit wide) variadic arguments, but the function also takes
> `const char *` (usually 64-bit wide) arguments. Count the arguments
> in the same way as they are used below to fix undefined behavior.
> ---
>   ell/dbus.c | 8 +++++++-
>   1 file changed, 7 insertions(+), 1 deletion(-)
> 

Applied, thanks!

Regards,
-Denis