Hello community, here is the log from the commit of package opie checked in at Fri Mar 16 14:44:28 CET 2007. -------- --- opie/opie.changes 2007-02-09 08:11:57.000000000 +0100 +++ /mounts/work_src_done/STABLE/opie/opie.changes 2007-03-16 09:47:39.000000000 +0100 @@ -1,0 +2,7 @@ +Thu Mar 15 16:46:16 CET 2007 - pgajdos@suse.cz + +- fixed: 'warning: array subscript is above array bounds' (#252562) +- opie-2.4_array-subscript.patch +- pam_opie-0.21_array-subscript.patch + +------------------------------------------------------------------- New: ---- opie-2.4_array-subscript.patch pam_opie-0.21_array-subscript.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opie.spec ++++++ --- /var/tmp/diff_new_pack.mz6066/_old 2007-03-16 14:44:20.000000000 +0100 +++ /var/tmp/diff_new_pack.mz6066/_new 2007-03-16 14:44:20.000000000 +0100 @@ -14,7 +14,7 @@ BuildRequires: pam-devel URL: http://www.inner.net/opie Version: 2.4 -Release: 589 +Release: 593 License: GNU General Public License (GPL) Group: Productivity/Security Provides: pam_opie @@ -34,6 +34,8 @@ Patch8: %name-2.4-cxx.patch Patch9: %name-2.4-undef.patch Patch10: %name-2.4-noroot.patch +Patch11: %{name}-%{version}_array-subscript.patch +Patch12: %{name_pam}-%{version_pam}_array-subscript.patch Summary: Support for One-Time Passwords BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -67,8 +69,10 @@ perl -pi -e 's/(?<!DESTDIR\))\$\(LOCALBIN\)/\$\(DESTDIR\)\$\(LOCALBIN\)/g' Makefile.in perl -pi -e 's/(?<!DESTDIR\))\$\(LOCALMAN\)/\$\(DESTDIR\)\$\(LOCALMAN\)/g' Makefile.in %patch10 -p1 +%patch11 cd %{name_pam} %patch1 -p0 +%patch12 %build # build opie @@ -111,7 +115,11 @@ %doc BUG-REPORT COPYRIGHT.NRL INSTALL License.TIN README README.PAM %doc %{_mandir}/man*/* -%changelog -n opie +%changelog +* Thu Mar 15 2007 - pgajdos@suse.cz +- fixed: 'warning: array subscript is above array bounds' (#252562) +- opie-2.4_array-subscript.patch +- pam_opie-0.21_array-subscript.patch * Fri Feb 09 2007 - meissner@suse.de - build as nonroot. * Wed Jan 17 2007 - aj@suse.de ++++++ opie-2.4_array-subscript.patch ++++++ --- libopie/btoe.c +++ libopie/btoe.c @@ -2258,8 +2258,8 @@ unsigned char cr; cl = s[start / 8]; - cc = s[start / 8 + 1]; - cr = s[start / 8 + 2]; + cc = start % 8 + length > 8 ? s[start / 8 + 1] : 0; + cr = start % 8 + length > 16 ? s[start / 8 + 2] : 0; x = ((UINT4) (cl << 8 | cc) << 8 | cr); x = x >> (24 - (length + (start % 8))); x = (x & (0xffff >> (16 - length))); ++++++ pam_opie-0.21_array-subscript.patch ++++++ --- libopie/btoe.c +++ libopie/btoe.c @@ -2257,8 +2257,8 @@ unsigned char cr; cl = s[start / 8]; - cc = s[start / 8 + 1]; - cr = s[start / 8 + 2]; + cc = start % 8 + length > 8 ? s[start / 8 + 1] : 0; + cr = start % 8 + length > 16 ? s[start / 8 + 2] : 0; x = ((UINT4) (cl << 8 | cc) << 8 | cr); x = x >> (24 - (length + (start % 8))); x = (x & (0xffff >> (16 - length))); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org