[Pkg-voip-commits] r1608 - in kphone/trunk/debian: . patches
Mark Purcell
msp at costa.debian.org
Mon Apr 17 11:25:08 UTC 2006
Author: msp
Date: 2006-04-17 11:25:07 +0000 (Mon, 17 Apr 2006)
New Revision: 1608
Added:
kphone/trunk/debian/patches/umask.diff
Modified:
kphone/trunk/debian/changelog
Log:
* Add debian/patches/umask.diff
- Security problem in kphone (Closes: #337830)
Modified: kphone/trunk/debian/changelog
===================================================================
--- kphone/trunk/debian/changelog 2006-04-17 11:17:13 UTC (rev 1607)
+++ kphone/trunk/debian/changelog 2006-04-17 11:25:07 UTC (rev 1608)
@@ -1,7 +1,6 @@
-kphone (1:4.2-6) UNRELEASED; urgency=low
+kphone (1:4.2-6) unstable; urgency=low
[ Kilian Krause ]
- * NOT YET RELEASED.
* Add fix to compile with gcc4.1. (Closes: #357959)
* Lower build-depends on libqt3-mt-dev to ease backports to Sarge.
@@ -9,8 +8,10 @@
* Remove dpatch Build-Depends
* Update Build-Depends
- FTBFS on kfreebsd-amd64: unsatisfied Build-Depends (Closes: #361492)
+ * Add debian/patches/umask.diff
+ - Security problem in kphone (Closes: #337830)
- -- Mark Purcell <msp at debian.org> Mon, 17 Apr 2006 12:14:41 +0100
+ -- Mark Purcell <msp at debian.org> Mon, 17 Apr 2006 12:17:45 +0100
kphone (1:4.2-5) unstable; urgency=low
Added: kphone/trunk/debian/patches/umask.diff
===================================================================
--- kphone/trunk/debian/patches/umask.diff 2006-04-17 11:17:13 UTC (rev 1607)
+++ kphone/trunk/debian/patches/umask.diff 2006-04-17 11:25:07 UTC (rev 1608)
@@ -0,0 +1,20 @@
+--- kphone.cpp.orig 2005-06-21 13:14:49.000000000 +0200
++++ kphone/kphone.cpp 2006-02-04 22:49:19.000000000 +0100
+@@ -1,5 +1,8 @@
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <sys/types.h>
++#include <sys/stat.h>
++
+ #include <qtimer.h>
+ #include <qsettings.h>
+ #include <qmenubar.h>
+@@ -32,6 +35,8 @@
+ userPrefix = "_" + prefix + "_";
+ }
+ QSettings settings;
++
++ umask(077);
+ Sip::setLocalAddress( settings.readEntry(
+ "/kphone/dissipate_addr", Sip::getLocalAddress() ) );
+ QString socketStr = settings.readEntry( "/kphone/General/SocketMode", "UDP" );
More information about the Pkg-voip-commits
mailing list