]> andersk Git - openssh.git/blobdiff - dh.c
- djm@cvs.openbsd.org 2006/03/19 02:24:05
[openssh.git] / dh.c
diff --git a/dh.c b/dh.c
index a30b704fbc319ecc254919b481beabf120bda90f..e8ce3d1a927074ad00910ce6b2c7f306139a7e5a 100644 (file)
--- a/dh.c
+++ b/dh.c
@@ -45,7 +45,8 @@ parse_prime(int linenum, char *line, struct dhgroup *dhg)
        char *strsize, *gen, *prime;
 
        cp = line;
-       arg = strdelim(&cp);
+       if ((arg = strdelim(&cp)) == NULL)
+               return 0;
        /* Ignore leading whitespace */
        if (*arg == '\0')
                arg = strdelim(&cp);
This page took 0.168681 seconds and 4 git commands to generate.