Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 70533 Details for
Bug 109097
net-misc/{wget,curl}: NTLM Username Buffer Overflow
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
libcurl-ntlmbuf.patch
libcurl-ntlmbuf.patch (text/plain), 693 bytes, created by
Thierry Carrez (RETIRED)
on 2005-10-13 01:14:14 UTC
(
hide
)
Description:
libcurl-ntlmbuf.patch
Filename:
MIME Type:
Creator:
Thierry Carrez (RETIRED)
Created:
2005-10-13 01:14:14 UTC
Size:
693 bytes
patch
obsolete
>Index: lib/http_ntlm.c >=================================================================== >RCS file: /cvsroot/curl/curl/lib/http_ntlm.c,v >retrieving revision 1.46 >diff -u -r1.46 http_ntlm.c >--- lib/http_ntlm.c 2 Oct 2005 18:22:45 -0000 1.46 >+++ lib/http_ntlm.c 12 Oct 2005 21:35:30 -0000 >@@ -713,6 +713,13 @@ > size=64; > ntlmbuf[62]=ntlmbuf[63]=0; > >+ /* Make sure that the user and domain strings fit in the target buffer >+ before we copy them there. */ >+ if(size + userlen + domlen >= sizeof(ntlmbuf)) { >+ failf(conn->data, "user + domain name too big"); >+ return CURLE_OUT_OF_MEMORY; >+ } >+ > memcpy(&ntlmbuf[size], domain, domlen); > size += domlen; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 109097
: 70533