Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 109097
Collapse All | Expand All

(-)lib/http_ntlm.c (+7 lines)
Lines 713-718 Link Here
713
    size=64;
713
    size=64;
714
    ntlmbuf[62]=ntlmbuf[63]=0;
714
    ntlmbuf[62]=ntlmbuf[63]=0;
715
715
716
    /* Make sure that the user and domain strings fit in the target buffer
717
       before we copy them there. */
718
    if(size + userlen + domlen >= sizeof(ntlmbuf)) {
719
      failf(conn->data, "user + domain name too big");
720
      return CURLE_OUT_OF_MEMORY;
721
    }
722
716
    memcpy(&ntlmbuf[size], domain, domlen);
723
    memcpy(&ntlmbuf[size], domain, domlen);
717
    size += domlen;
724
    size += domlen;
718
725

Return to bug 109097