diff options
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Args.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Args.c b/nx-X11/programs/Xserver/hw/nxagent/Args.c index 2d998980c..abdb650a4 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Args.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c @@ -1103,6 +1103,9 @@ static void nxagentParseSingleOption(char *name, char *value) URLDecodeInPlace(value); + if (!value) + value = ""; + if (!strcmp(name, "kbtype") || !strcmp(name, "keyboard") || !strcmp(name, "id") || |