Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 82532 Details for
Bug 125766
net-misc/curl: tftp:// URL Buffer Overflow (CVE-2006-1061)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
curl-7.15-libtftp.patch
curl-7.15-libtftp.patch (text/plain), 651 bytes, created by
solar (RETIRED)
on 2006-03-19 03:45:44 UTC
(
hide
)
Description:
curl-7.15-libtftp.patch
Filename:
MIME Type:
Creator:
solar (RETIRED)
Created:
2006-03-19 03:45:44 UTC
Size:
651 bytes
patch
obsolete
>diff -Nrup curl-7.15.1/lib/tftp.c curl-7.15.1/lib/tftp.c >--- curl-7.15.1/lib/tftp.c 2005-12-05 15:10:37.000000000 -0500 >+++ curl-7.15.1/lib/tftp.c 2006-03-18 20:16:02.000000000 -0500 >@@ -271,7 +271,7 @@ static void tftp_send_first(tftp_state_d > /* If we are downloading, send an RRQ */ > state->spacket.event = htons(TFTP_EVENT_RRQ); > } >- sprintf((char *)state->spacket.u.request.data, "%s%c%s%c", >+ snprintf((char *)state->spacket.u.request.data, 512, "%s%c%s%c", > filename, '\0', mode, '\0'); > sbytes = 4 + (int)strlen(filename) + (int)strlen(mode); > sbytes = sendto(state->sockfd, (void *)&state->spacket,
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 125766
: 82532 |
82533
|
82534