Unverified Commit 9c829dda authored by Pavel Shlyak's avatar Pavel Shlyak Committed by GitHub

Update util.c

It looks like the condition has no sense at the moment. Moreover, it may lead do a null pointer dereference
parent c78baef5
......@@ -786,7 +786,7 @@ open_uri (const gchar *uri)
{
gchar *cmdline;
if (!uri && !uri[0])
if (!uri || !uri[0])
return;
if (g_strstr_len (options.data.uri_handler, -1, "%s") != NULL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment