Hello community, here is the log from the commit of package pvm checked in at Tue Mar 28 18:35:14 CEST 2006. -------- --- /work/SRC/all/pvm/pvm.changes 2006-01-25 21:40:42.000000000 +0100 +++ /work/src/done/STABLE/pvm/pvm.changes 2006-03-22 18:47:02.000000000 +0100 @@ -1,0 +2,7 @@ +Wed Mar 22 18:19:15 CET 2006 - mrueckert@suse.de + +- added pvm-3.4.5_missing_format_param.patch + o fixes missing parameter for printf expression. (#133904) + o use vsnprintf instead of vsprintf + +------------------------------------------------------------------- New: ---- pvm-3.4.5_missing_format_param.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pvm.spec ++++++ --- /var/tmp/diff_new_pack.ezkJvQ/_old 2006-03-28 18:34:53.000000000 +0200 +++ /var/tmp/diff_new_pack.ezkJvQ/_new 2006-03-28 18:34:53.000000000 +0200 @@ -5,7 +5,7 @@ # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # -# Please submit bugfixes or comments via http://bugs.opensuse.org +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild @@ -14,7 +14,7 @@ BuildRequires: gcc-fortran readline-devel tcsh Summary: Parallel Virtual Machine Version: 3.4.5 -Release: 9 +Release: 16 License: LGPL, Other License(s), see package Group: Development/Libraries/Parallel Source0: ftp://ftp.netlib.org/pvm3/%{name}-%{version}.tar.bz2 @@ -23,6 +23,7 @@ Patch1: pvm-%{version}-cons.patch Patch2: pvm-%{version}-gcc4.patch Patch3: pvm-3.4.5_missing_includes.patch +Patch4: pvm-3.4.5_missing_format_param.patch URL: http://www.epm.ornl.gov/pvm/pvm_home.html BuildRoot: %{_tmppath}/%{name}-%{version}-build %define _pvm_root /usr/lib/pvm3 @@ -151,6 +152,7 @@ %patch1 %patch2 -p1 %patch3 +%patch4 %build mkdir -p src/%{_pvm_arch} @@ -239,6 +241,10 @@ %{_mandir}/man3/* %changelog -n pvm +* Wed Mar 22 2006 - mrueckert@suse.de +- added pvm-3.4.5_missing_format_param.patch + o fixes missing parameter for printf expression. (#133904) + o use vsnprintf instead of vsprintf * Wed Jan 25 2006 - mls@suse.de - converted neededforbuild to BuildRequires * Mon Jan 23 2006 - mrueckert@suse.de ++++++ pvm-3.4.5_missing_format_param.patch ++++++ Index: src/pvmlog.c =================================================================== --- src/pvmlog.c.orig +++ src/pvmlog.c @@ -348,7 +348,8 @@ char *fmt; va_list ap; { - char vtmp[255]; + size_t vlen = 255; + char vtmp[vlen]; int cnt = 0; int cc; @@ -362,7 +363,7 @@ /* snag var arg string, in case re-use whacks it... */ /* (thank you very much x86_64... :-Q */ - vsprintf(vtmp, fmt, ap); + vsnprintf(vtmp, vlen, fmt, ap); if (log_how & 1) { if (atnewline) { @@ -488,7 +489,7 @@ pvmlogprintf("em=0x%lx\n", (long) em); for (i=0; i < 10 ; i++ ) - pvmlogprintf("[%x/%c]", em[i]); + pvmlogprintf("[%x/%c]", em[i], em[i]); pvmlogprintf("\n"); pvmlogprintf("%s: %s\n", s, em); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...