Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 145712 Details for
Bug 222883
CVE-2007-0247 Squid crashes when receiving certain FTP listings
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Upstream patch for Squid FTP triggered DoS #1857
bug1857.patch (text/plain), 1.26 KB, created by
Lubomir Kundrak
on 2007-01-16 18:29:37 UTC
(
hide
)
Description:
Upstream patch for Squid FTP triggered DoS #1857
Filename:
MIME Type:
Creator:
Lubomir Kundrak
Created:
2007-01-16 18:29:37 UTC
Size:
1.26 KB
patch
obsolete
>Index: src/ftp.c >=================================================================== >RCS file: /cvsroot/squid/squid/src/ftp.c,v >retrieving revision 1.340 >diff -u -p -r1.340 ftp.c >--- src/ftp.c 18 Sep 2006 23:03:36 -0000 1.340 >+++ src/ftp.c 1 Jan 2007 21:35:03 -0000 >@@ -434,7 +434,7 @@ ftpListingFinish(FtpStateData * ftpState > ftpState->flags.dir_slash ? rfc1738_escape_part(ftpState->old_filepath) : "."); > } else if (ftpState->typecode == 'D') { > const char *path = ftpState->flags.dir_slash ? ftpState->filepath : "."; >- storeAppendPrintf(e, "<A HREF=\"%s/\">[As extended directory]</A>\n", html_quote(path)); >+ storeAppendPrintf(e, "<A HREF=\"%s/\">[As extended directory]</A>\n", rfc1738_escape_part(path)); > } > storeAppendPrintf(e, "<HR noshade size=\"1px\">\n"); > storeAppendPrintf(e, "<ADDRESS>\n"); >@@ -682,8 +682,8 @@ ftpHtmlifyListEntry(const char *line, Ft > snprintf(html, 8192, "%s\n", line); > return html; > } >- if (ftpState->flags.dir_slash) >- snprintf(prefix, sizeof(prefix), "%s/", rfc1738_escape_part(ftpState->dirpath)); >+ if (ftpState->flags.dir_slash && ftpState->dirpath && ftpState->typecode != 'D' ) >+ snprintf(prefix, 2048, "%s/", rfc1738_escape_part(ftpState->dirpath)); > else > prefix[0] = '\0'; > /* Handle builtin <dirup> */
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 222883
: 145712