merge: branch 'wl/nm-1-52'

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

https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2204
This commit is contained in:
Wen Liang 2025-05-14 17:18:35 +00:00
commit 2fe69da6fd

View file

@ -2468,7 +2468,7 @@ again:
* content is broken (_json_read_msg() cannot extract any data) and
* we disconnect. */
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;
}