Hello community, here is the log from the commit of package wxGTK checked in at Fri Apr 7 17:03:27 CEST 2006. -------- --- wxGTK/wxGTK.changes 2006-03-09 23:32:11.000000000 +0100 +++ wxGTK/wxGTK.changes 2006-04-07 13:55:49.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Apr 7 14:04:51 CEST 2006 - mmarek@suse.cz + +- fix array subscript out of range in src/common/db.cpp + +------------------------------------------------------------------- New: ---- wxGTK-2.6.2.1-overflow.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wxGTK.spec ++++++ --- /var/tmp/diff_new_pack.qRBXff/_old 2006-04-07 17:03:14.000000000 +0200 +++ /var/tmp/diff_new_pack.qRBXff/_new 2006-04-07 17:03:14.000000000 +0200 @@ -16,7 +16,7 @@ Group: System/Libraries Autoreqprov: on Version: 2.6.2.1 -Release: 10 +Release: 13 %define srcname wxPython-src Summary: C++ Framework for Cross-Platform Development # http://www.wxpython.org/ @@ -30,6 +30,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch3: wxGTK-expat.patch Patch5: wxGTK-2.5.3.1-wx-config.patch +Patch6: wxGTK-2.6.2.1-overflow.patch # compile with debug stuff (adds lots of asserts, which can help finding # problems in applications) %define usedebug 0 @@ -131,6 +132,7 @@ # patching: %patch3 %patch5 +%patch6 # build directories: mkdir build-normal mkdir build-unicode @@ -309,6 +311,8 @@ %{py_sitedir}/* %changelog -n wxGTK +* Fri Apr 07 2006 - mmarek@suse.cz +- fix array subscript out of range in src/common/db.cpp * Thu Mar 09 2006 - bk@suse.de - Add esound-devel to BuildRequires (was implicily by SDL-devel) - Add explicit gcc-c++ to BuildRequires (was implicit by SDL-devel) ++++++ wxGTK-2.6.2.1-overflow.patch ++++++ --- src/common/db.cpp +++ src/common/db.cpp @@ -1871,7 +1871,7 @@ } wxStrncpy(errorList[pLast], errMsg, DB_MAX_ERROR_MSG_LEN); - errorList[pLast][DB_MAX_ERROR_MSG_LEN] = 0; + errorList[pLast][DB_MAX_ERROR_MSG_LEN-1] = 0; if (SQLState.Length()) if ((dbStatus = TranslateSqlState(SQLState)) != DB_ERR_FUNCTION_SEQUENCE_ERROR) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de