mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 00:10:31 +01:00
core: ovs: fix NULL pointer dereference in ovsdb read timeout callback
Fixes: f7d321c6d6 ('ovsdb: add watchdog for unparsable JSON data in socket')
This commit is contained in:
parent
b62a0ae7b3
commit
dc9bf255ee
1 changed files with 1 additions and 1 deletions
|
|
@ -2424,7 +2424,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