Mailinglist Archive: opensuse-commit (1157 mails)

< Previous Next >
commit pwlib
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Mon, 08 Oct 2007 12:29:11 +0200
  • Message-id: <20071008102912.016CA67817A@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package pwlib
checked in at Mon Oct 8 12:29:11 CEST 2007.

--------
--- pwlib/pwlib.changes 2007-09-20 02:35:48.000000000 +0200
+++ /mounts/work_src_done/STABLE/pwlib/pwlib.changes    2007-10-04 14:00:29.269418000 +0200
@@ -1,0 +2,5 @@
+Thu Oct  4 13:59:29 CEST 2007 - kkeil@xxxxxxx
+
+- fix possible buffer overrun in Pstring functions (#309814)
+
+-------------------------------------------------------------------

New:
----
  pwlib-1.10.10-pstring-fix.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ pwlib.spec ++++++
--- /var/tmp/diff_new_pack.z15983/_old  2007-10-08 12:28:32.000000000 +0200
+++ /var/tmp/diff_new_pack.z15983/_new  2007-10-08 12:28:32.000000000 +0200
@@ -12,7 +12,7 @@
 
 Name:           pwlib
 Version:        1.10.10
-Release:        1
+Release:        3
 BuildRequires:  SDL-devel bison esound-devel flex gcc-c++ libavc1394-devel libdc1394_control12-devel libdv-devel libstdc++-devel openldap2 openldap2-devel
 Url:            http://www.openh323.org/
 License:        MOZILLA PUBLIC LICENSE (MPL/NPL)
@@ -30,6 +30,7 @@
 #Patch2:         %{name}-%{version}-gcc42-atomic.diff
 Patch3:         %{name}-%{version}-make.diff
 #Patch4:         pwlib.linux-time.patch
+Patch4:         %{name}-%{version}-pstring-fix.diff
 
 %description
 PWLib is a moderately large class library that was created many years
@@ -111,7 +112,7 @@
 #%patch1 -p1
 #%patch2 -p1
 %patch3 -p1
-#%patch4 -p1
+%patch4 -p1
 
 %build
 #autoreconf --force --install
@@ -195,6 +196,8 @@
 %dir %{_libdir}/pwlib/devices/videoinput
 %{_libdir}/pwlib/devices/videoinput/v4l2_pwplugin.so
 %changelog
+* Thu Oct 04 2007 - kkeil@xxxxxxx
+- fix possible buffer overrun in Pstring functions (#309814)
 * Wed Sep 19 2007 - mauro@xxxxxxx 
 - Update to 1.10.10 (needed it for ekiga in gnome 2.20)
 * Fri Aug 10 2007 - olh@xxxxxxx

++++++ pwlib-1.10.10-pstring-fix.diff ++++++
Index: pwlib-1.10.4/src/ptlib/common/contain.cxx
===================================================================
--- pwlib-1.10.4.orig/src/ptlib/common/contain.cxx
+++ pwlib-1.10.4/src/ptlib/common/contain.cxx
@@ -2465,7 +2465,7 @@ PString & PString::vsprintf(const char *
   PAssert(SetSize(2000), POutOfMemory);
   ::vsprintf(theArray+len, fmt, arg);
 #else
-  PINDEX size = 0;
+  PINDEX size = len;
   do {
     size += 1000;
     PAssert(SetSize(size), POutOfMemory);

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread