Fixed null pointer dereference.
authorArmin Novak <armin.novak@gmail.com>
Mon, 17 Nov 2014 00:22:33 +0000 (01:22 +0100)
committerArmin Novak <armin.novak@gmail.com>
Mon, 17 Nov 2014 00:22:33 +0000 (01:22 +0100)
client/common/compatibility.c

index 3a7d0da..a290b49 100644 (file)
@@ -281,7 +281,7 @@ int freerdp_client_old_command_line_pre_filter(void* context, int index, int arg
                                        args->argc++;
                                }
 
-                               if (settings->instance)
+                               if (settings && settings->instance)
                                {
                                        freerdp_client_old_process_plugin(settings, args);
                                }