Hello community, here is the log from the commit of package commoncpp2 for openSUSE:Factory checked in at 2012-05-22 08:12:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/commoncpp2 (Old) and /work/SRC/openSUSE:Factory/.commoncpp2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "commoncpp2", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/commoncpp2/commoncpp2.changes 2012-02-24 06:52:43.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.commoncpp2.new/commoncpp2.changes 2012-05-22 08:12:37.000000000 +0200 @@ -1,0 +2,5 @@ +Mon May 21 11:43:52 UTC 2012 - [email protected] + +- Fix wrong memset call in inaddr.cpp + +------------------------------------------------------------------- New: ---- commoncpp2-overflow.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ commoncpp2.spec ++++++ --- /var/tmp/diff_new_pack.Kg6Pb8/_old 2012-05-22 08:12:38.000000000 +0200 +++ /var/tmp/diff_new_pack.Kg6Pb8/_new 2012-05-22 08:12:38.000000000 +0200 @@ -16,15 +16,16 @@ # - Name: commoncpp2 BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: pkg-config BuildRequires: zlib-devel -Provides: commonc++ CommonC++ -Obsoletes: commonc++ CommonC++ +Provides: CommonC++ +Provides: commonc++ +Obsoletes: CommonC++ +Obsoletes: commonc++ Summary: A GNU package for creating portable C++ program License: GPL-2.0+ Group: Development/Libraries/C and C++ @@ -37,6 +38,7 @@ Patch2: commoncpp-charptr.diff Patch3: commoncpp-stdlib.diff Patch4: commoncpp2-1.6.1-memset-with-zero-length.patch +Patch5: commoncpp2-overflow.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -55,9 +57,13 @@ David Sugar <[email protected]> %package devel -Requires: %{name} = %{version} zlib-devel libstdc++-devel -Provides: commonc++-devel CommonC++-devel -Obsoletes: commonc++-devel CommonC++-devel +Requires: %{name} = %{version} +Requires: libstdc++-devel +Requires: zlib-devel +Provides: CommonC++-devel = %{version} +Provides: commonc++-devel < %{version} +Obsoletes: CommonC++-devel = %{version} +Obsoletes: commonc++-devel < %{version} Summary: Files for developing CommonC++ applications Group: Development/Libraries/C and C++ @@ -76,8 +82,8 @@ Requires: %{name} = %{version} Summary: A GNU package for creating portable C++ program Group: Development/Libraries/C and C++ -Provides: CommonC++-doc -Obsoletes: CommonC++-doc +Provides: CommonC++-doc = %{version} +Obsoletes: CommonC++-doc < %{version} %description doc Common C++ is a GNU package which offers portable "abstraction" of @@ -101,11 +107,13 @@ %patch2 %patch -P 3 -p1 %patch4 +%patch5 -p1 %build autoreconf --install --force -v %configure --enable-shared --disable-static --with-pic -make +# Practice has shown it does not always fly. +make -j1 %install mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man3 ++++++ commoncpp2-overflow.patch ++++++ Index: commoncpp2-1.6.1/src/inaddr.cpp =================================================================== --- commoncpp2-1.6.1.orig/src/inaddr.cpp +++ commoncpp2-1.6.1/src/inaddr.cpp @@ -328,7 +328,7 @@ void IPV4Address::setAddress(const char if(ipaddr) delete[] ipaddr; ipaddr = new struct in_addr[1]; - memset((void *)&ipaddr[0], 0, sizeof(ipaddr)); + memset((void *)&ipaddr[0], 0, sizeof(struct in_addr[1])); return; } -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
