Skip to content
Snippets Groups Projects
Commit 463beb5d authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(mozilla_remote_commands): Don't dereference a NULL pointer. This fix

	was taken from <URL:http://gate.vi.nnov.ru/doc/ports/www/
	netscape-remote/patches/> and is probably written by Kelly
	<kbyanc@posi.net>.  Thanks!
parent 41ccac97
No related branches found
No related tags found
No related merge requests found
...@@ -502,6 +502,9 @@ mozilla_remote_commands (Display *dpy, Window window, char **commands) ...@@ -502,6 +502,9 @@ mozilla_remote_commands (Display *dpy, Window window, char **commands)
int status = 0; int status = 0;
mozilla_remote_init_atoms (dpy); mozilla_remote_init_atoms (dpy);
if (commands == NULL)
return;
if (window == 0) if (window == 0)
window = mozilla_remote_find_window (dpy); window = mozilla_remote_find_window (dpy);
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment