Closed tofurky closed 5 years ago
Per the docs on g_socket_listener_add_address(), setting error to NULL causes the parameter to be ignored. If an error occurs in flatpak_proxy_start(), start_proxy() will attempt to print error->message where error is then NULL, causing a segfault.
So, don't set error to NULL.
Signed-off-by: Matt Merhar mattmerhar@protonmail.com
Yeah, that does not make sense.
thanks!
Per the docs on g_socket_listener_add_address(), setting error to NULL causes the parameter to be ignored. If an error occurs in flatpak_proxy_start(), start_proxy() will attempt to print error->message where error is then NULL, causing a segfault.
So, don't set error to NULL.
Signed-off-by: Matt Merhar mattmerhar@protonmail.com