Files
ModemManager/src
Semyon Maryasin 6a14658a42 broadband-modem-mbim: initialize autofreed string to NULL
device_caps_query_ready() declares caps_custom_data_class_str as
g_autofree without an initializer. On every early error return
(command failure such as a transaction timeout or NotOpened, or a
response parse failure) the variable is never assigned, so the
autofree cleanup runs g_free() on uninitialized stack garbage,
crashing ModemManager with a glibc "invalid free" abort (or SIGSEGV)
whenever the device caps query fails during modem initialization.

Fixes: 19c817cfe9 ("broadband-modem-mbim: consistently handle custom data classes")
Closes: #1094

Signed-off-by: Semyon Maryasin <simeon@maryasin.name>
2026-08-30 09:49:13 -05:00
..
2025-03-11 23:15:57 +01:00
2025-03-11 23:15:57 +01:00
2025-05-08 20:24:38 -05:00
2025-05-08 20:24:38 -05:00
…
…
2025-05-08 20:24:38 -05:00
2025-05-08 20:24:38 -05:00
2025-05-08 20:24:38 -05:00
2025-05-08 20:24:38 -05:00
2025-05-08 20:24:38 -05:00