X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fparamhandling.c;h=ac8585b50b517c6eedb1b1cbcaabef997b98f81a;hb=d68f412717c3d03ca19c173d62b7b18c9c12e418;hp=1e26e9cb0d1b26fa7dce70a7857851d4130cddaa;hpb=0b328597a0ba44d25433555bde3ef7f8772a388c;p=citadel.git diff --git a/webcit/paramhandling.c b/webcit/paramhandling.c index 1e26e9cb0..ac8585b50 100644 --- a/webcit/paramhandling.c +++ b/webcit/paramhandling.c @@ -52,7 +52,7 @@ void ParseURLParams(StrBuf *url) keylen = aptr - up - 1; /* -1 -> '=' */ if(keylen > sizeof(u->url_key)) { syslog(1, "invalid url_key"); - continue; + return; } u = (urlcontent *) malloc(sizeof(urlcontent)); @@ -61,7 +61,7 @@ void ParseURLParams(StrBuf *url) if (keylen < 0) { syslog(1, "invalid url_key"); free(u); - continue; + return; } if (strncmp(u->url_key, "__", 2) != 0)