Bugzilla – Attachment 19606 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]
3rd patch
post-3.2.2-kdelibs-ktelnetservice.patch (text/plain), 974 bytes, created by
Sebastian Krahmer
on 2004-05-14 16:55:15 UTC
(
hide
)
Description:
3rd patch
Filename:
MIME Type:
Creator:
Sebastian Krahmer
Created:
2004-05-14 16:55:15 UTC
Size:
974 bytes
patch
obsolete
>Index: ktelnetservice.cpp >=================================================================== >RCS file: /home/kde/kdelibs/kio/misc/ktelnetservice.cpp,v >retrieving revision 1.7.2.1 >diff -u -p -r1.7.2.1 ktelnetservice.cpp >--- kio/misc/ktelnetservice.cpp 18 Feb 2004 11:42:12 -0000 1.7.2.1 >+++ kio/misc/ktelnetservice.cpp 13 May 2004 15:12:14 -0000 >@@ -77,10 +77,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()){ > if ( url.protocol() == "ssh" )
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