Hello community, here is the log from the commit of package diald checked in at Wed Feb 7 00:26:36 CET 2007. -------- --- diald/diald.changes 2006-12-14 17:39:06.000000000 +0100 +++ /mounts/work_src_done/STABLE/diald/diald.changes 2007-02-06 13:40:08.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Feb 6 13:39:44 CET 2007 - prusnak@suse.cz + +- fixed "array subscript is above array bounds" (bound.diff) [#242048] + +------------------------------------------------------------------- New: ---- diald-1.0-bound.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ diald.spec ++++++ --- /var/tmp/diff_new_pack.QF4990/_old 2007-02-07 00:26:25.000000000 +0100 +++ /var/tmp/diff_new_pack.QF4990/_new 2007-02-07 00:26:25.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package diald (Version 1.0) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -18,7 +18,7 @@ Autoreqprov: on Requires: iproute2 Version: 1.0 -Release: 396 +Release: 400 Summary: Automatic Dialer for PPP and SLIP URL: http://diald.sourceforge.net/ Source0: %{name}-%{version}.tar.bz2 @@ -31,6 +31,7 @@ Patch4: %{name}-%{version}-decl.diff Patch5: %{name}-CLK_TCK.diff Patch6: %{name}-%{version}-fd_set.diff +Patch7: %{name}-%{version}-bound.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: sh-utils fileutils %insserv_prereq %fillup_prereq @@ -57,6 +58,7 @@ %patch0 %patch1 %patch5 +%patch7 cd %{diald_top} %patch2 %patch3 -p2 @@ -137,6 +139,8 @@ %config /etc/init.d/diald %changelog -n diald +* Tue Feb 06 2007 - prusnak@suse.cz +- fixed "array subscript is above array bounds" (bound.diff) [#242048] * Thu Dec 14 2006 - prusnak@suse.cz - moved assignement out of the FD_SET macro (fd_set.diff) * Wed Jan 25 2006 - mls@suse.de ++++++ diald-1.0-bound.diff ++++++ --- diald-1.0/utils.c +++ diald-1.0/utils.c @@ -12,8 +12,8 @@ static char dt[128]; size_t len; - len = strftime(dt, 128, "%c %Z", localtime(&now)); - if (len == 128) dt[len] = 0; + len = strftime(dt, sizeof(dt), "%c %Z", localtime(&now)); + if (len == sizeof(dt)) dt[len-1] = 0; return dt; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org