Bugzilla – Attachment 19605 Details for
Bug 55560
VUL-0: CVE-2004-0411: telnet:// patch for kdelibs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
second patch
post-3.1.5-kdelibs-ktelnetservice.patch (text/plain), 968 bytes, created by
Sebastian Krahmer
on 2004-05-14 16:54:46 UTC
(
hide
)
Description:
second patch
Filename:
MIME Type:
Creator:
Sebastian Krahmer
Created:
2004-05-14 16:54:46 UTC
Size:
968 bytes
patch
obsolete
>Index: ktelnetservice.cpp >=================================================================== >RCS file: /home/kde/kdelibs/kio/misc/ktelnetservice.cpp,v >retrieving revision 1.3.2.2 >diff -u -p -r1.3.2.2 ktelnetservice.cpp >--- kio/misc/ktelnetservice.cpp 31 Mar 2003 09:13:55 -0000 1.3.2.2 >+++ kio/misc/ktelnetservice.cpp 13 May 2004 15:12:00 -0000 >@@ -68,10 +68,19 @@ int main(int argc, char **argv) > cmd << url.user(); > } > >+ QString host; > if (!url.host().isEmpty()) >- cmd << url.host(); // telnet://host >+ host = url.host(); // telnet://host > else if (!url.path().isEmpty()) >- cmd << url.path(); // telnet:host >+ host = url.path(); // telnet:host >+ >+ if (host.isEmpty() || host.startsWith("-")) >+ { >+ kdError() << "Invalid hostname " << host << endl; >+ return 2; >+ } >+ >+ cmd << host; > > if (url.port()) > cmd << QString::number(url.port());
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 55560
:
19604
| 19605 |
19606
|
19718
|
19719
|
19720