View | Details | Raw Unified | Return to bug 81518
Collapse All | Expand All

(-)Pound-1.8.2/config.c (-1 / +1 lines)
Lines 755-761 config_parse(int argc, char **argv) Link Here
755
    user = NULL;
755
    user = NULL;
756
    groups = NULL;
756
    groups = NULL;
757
    root = NULL;
757
    root = NULL;
758
    e500 = e501 = e503 = NULL;
758
    e500 = e501 = e503 = e414 = NULL;
759
    CS_segment = CS_parm = CS_qid = CS_qval = CS_frag = NULL;
759
    CS_segment = CS_parm = CS_qid = CS_qval = CS_frag = NULL;
760
    head_off = NULL;
760
    head_off = NULL;
761
    check_URL = 0;
761
    check_URL = 0;
(-)Pound-1.8.2/http.c (+1 lines)
Lines 204-209 err_reply(BIO *c, char *head, char *txt) Link Here
204
    snprintf(cont, sizeof(cont), err_cont, head, head, txt);
204
    snprintf(cont, sizeof(cont), err_cont, head, head, txt);
205
    snprintf(rep, sizeof(rep), err_head, head, strlen(cont), cont);
205
    snprintf(rep, sizeof(rep), err_head, head, strlen(cont), cont);
206
    BIO_write(c, rep, strlen(rep));
206
    BIO_write(c, rep, strlen(rep));
207
    BIO_flush(c);
207
    return;
208
    return;
208
}
209
}
209
210
(-)Pound-1.8.2/svc.c (-1 / +1 lines)
Lines 690-696 add_port(char *host, struct sockaddr_in Link Here
690
    if(strchr(host, ':') != NULL)
690
    if(strchr(host, ':') != NULL)
691
        /* the host already contains a port */
691
        /* the host already contains a port */
692
        return NULL;
692
        return NULL;
693
    sprintf(res, "Host: %s:%hd", host, ntohs(to_host->sin_port));
693
    snprintf(res, MAXBUF - 1, "Host: %s:%hd", host, ntohs(to_host->sin_port));
694
    return strdup(res);
694
    return strdup(res);
695
}
695
}
696
696

Return to bug 81518