ModemManager Crash (1.18.2) when ip-type is ipv4v6 (MBIM)
Aleksander Morgado
aleksander at aleksander.es
Mon Oct 4 09:35:09 UTC 2021
Hey
> I'm finding that ModemManager crashes when ip-type is ipv4v6 in -simple-connect in MBIM mode. After investigation, I found that below seems to fix the crash
>
> diff --git a/src/mm-bearer-mbim.c b/src/mm-bearer-mbim.c
> index d509929..bf66c5d 100644
> --- a/src/mm-bearer-mbim.c
> +++ b/src/mm-bearer-mbim.c
> @@ -406,7 +406,7 @@ ip_configuration_query_ready (MbimDevice *device,
> str = g_inet_address_to_string (addr);
> mm_obj_dbg (self, " DNS [%u]: '%s'", i, str);
> }
> - g_object_unref (addr);
> + //g_object_unref (addr);
> }
> }
>
Pushed the fix here:
https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/637
Will be backported to 1.18.x, thanks!
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list