merge: branch 'ih/fix-ovs-timeout-crash'

core: ovs: fix NULL pointer dereference in ovsdb read timeout callback

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2192
This commit is contained in:
Íñigo Huguet
2025-04-16 10:16:02 +00:00

View File

@@ -2424,7 +2424,7 @@ again:
* content is broken (_json_read_msg() cannot extract any data) and * content is broken (_json_read_msg() cannot extract any data) and
* we disconnect. */ * we disconnect. */
priv->input_timeout_source = priv->input_timeout_source =
nm_g_timeout_add_seconds_source(5, _ovsdb_read_input_timeout_cb, NULL); nm_g_timeout_add_seconds_source(5, _ovsdb_read_input_timeout_cb, self);
} }
return; return;
} }