diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-01-11 13:38:28 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-01-11 13:38:28 +0000 |
commit | d2e81745d303ac879bd47a2a50a9e001948edc61 (patch) | |
tree | f3df7bee50a209dc11e70b576a077fb24a7a81b9 /kde-base/kdenetwork/files | |
parent | Add patch to fix security bug #159658. (diff) | |
download | gentoo-2-d2e81745d303ac879bd47a2a50a9e001948edc61.tar.gz gentoo-2-d2e81745d303ac879bd47a2a50a9e001948edc61.tar.bz2 gentoo-2-d2e81745d303ac879bd47a2a50a9e001948edc61.zip |
Add patch to fix security bug #159658.
(Portage version: 2.1.2_rc4-r7)
Diffstat (limited to 'kde-base/kdenetwork/files')
-rw-r--r-- | kde-base/kdenetwork/files/digest-kdenetwork-3.5.5-r2 | 6 | ||||
-rw-r--r-- | kde-base/kdenetwork/files/post-3.5.5-kdenetwork-ksirc.diff | 27 |
2 files changed, 33 insertions, 0 deletions
diff --git a/kde-base/kdenetwork/files/digest-kdenetwork-3.5.5-r2 b/kde-base/kdenetwork/files/digest-kdenetwork-3.5.5-r2 new file mode 100644 index 000000000000..e013575200c5 --- /dev/null +++ b/kde-base/kdenetwork/files/digest-kdenetwork-3.5.5-r2 @@ -0,0 +1,6 @@ +MD5 07d313f91154d3c2f4620b921277fdc8 kdenetwork-3.5-patchset-01.tar.bz2 2986 +RMD160 288113734e7767a7526f4b9311c1985ac8aa91bf kdenetwork-3.5-patchset-01.tar.bz2 2986 +SHA256 0bbde1adaa4e8fff02c1f1fd6ceb66ec9af14dd19ff64567ab0fd03926d7d05b kdenetwork-3.5-patchset-01.tar.bz2 2986 +MD5 a6e642c070cbd50d4a817f6588bf8e46 kdenetwork-3.5.5.tar.bz2 9235564 +RMD160 3e757d10ee5bf24b2ccf131e693fb614b9fdb9f4 kdenetwork-3.5.5.tar.bz2 9235564 +SHA256 c3f36e69bbd23902f2bdd9a1a8cda93b0436338ada422bb8ac6bc3d2bcd8e38f kdenetwork-3.5.5.tar.bz2 9235564 diff --git a/kde-base/kdenetwork/files/post-3.5.5-kdenetwork-ksirc.diff b/kde-base/kdenetwork/files/post-3.5.5-kdenetwork-ksirc.diff new file mode 100644 index 000000000000..cd0b5699c94f --- /dev/null +++ b/kde-base/kdenetwork/files/post-3.5.5-kdenetwork-ksirc.diff @@ -0,0 +1,27 @@ +--- ksirc/iocontroller.cpp ++++ ksirc/iocontroller.cpp +@@ -237,7 +237,7 @@ + + if((line.length() > 0) && (line[0] == '~')){ + pos3 = line.find('~', 1); +- if(pos3 > 0){ ++ if(pos3 > 1){ + name = line.mid(1,pos3-1).lower(); + name = name.lower(); + line.remove(0, pos3+1); +@@ -266,13 +266,13 @@ + if(ksopts->autoCreateWin == TRUE && line[0] != '`' && line[1] != '#' && line[1] != '&' && noticeCreate) { + //kdDebug(5008) << "Creating window for: " << qsname << " because of: " << line.data() << endl; + ksircproc->new_toplevel(KSircChannel(ksircproc->serverName(), qsname)); +- assert(ksircproc->TopList[qsname] != 0x0); + } +- else{ ++ if (!ksircproc->TopList[qsname]) { + qsname = "!default"; + if(line[0] == '`') + qsname = "!discard"; + } ++ assert(ksircproc->TopList[qsname]); + } + + ksircproc->TopList[qsname]->sirc_receive(line); |