mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-28 21:30:30 +01:00
core: ovs: fix NULL pointer dereference in ovsdb read timeout callback
Fixes:f7d321c6d6('ovsdb: add watchdog for unparsable JSON data in socket') (cherry picked from commitdc9bf255ee)
This commit is contained in:
parent
15a68c6a9b
commit
9ec498f321
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue