Throttled server does a SIGSEGV on incoming connection

Christophe Wolfhugel wolf at oleane.net
Mon Feb 21 12:07:21 UTC 2000


In inn-STABLE_2_2-2000-02-19_03-02, innd/rc.c around line 495 :

    /* If not a server, and not allowing anyone, hand him off unless
       not spawning nnrpd in which case we return an error. */
    if ((i >= 0) && !rp->Skip) {
        new = NCcreate(fd, rp->Password[0] != '\0', FALSE);
        new->Streaming = rp->Streaming;
        new->Skip = rp->Skip;
        new->NoResendId = rp->NoResendId;
        new->MaxCnx = rp->MaxCnx;
    } else if (AnyIncoming && !rp->Skip) {

NCcreate will return NULL if the server is throttled, thus causing the line
after to do a segmentation. No correction yet.

-- 
Christophe Wolfhugel  -+-  wolf at oleane.net  -+-  France Telecom Oleane



More information about the inn-workers mailing list