Hello community, here is the log from the commit of package opie for openSUSE:Factory checked in at Mon Oct 5 22:23:32 CEST 2009. -------- --- opie/opie.changes 2009-06-24 19:22:12.000000000 +0200 +++ opie/opie.changes 2009-10-03 17:21:20.000000000 +0200 @@ -1,0 +2,5 @@ +Sat Oct 3 17:20:52 CEST 2009 - meissner@suse.de + +- fclose permsfile handle bnc#535928 + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- opie-2.4-fclose.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opie.spec ++++++ --- /var/tmp/diff_new_pack.ivSxJD/_old 2009-10-05 22:20:42.000000000 +0200 +++ /var/tmp/diff_new_pack.ivSxJD/_new 2009-10-05 22:20:42.000000000 +0200 @@ -22,7 +22,7 @@ BuildRequires: bison pam-devel Url: http://www.inner.net/opie Version: 2.4 -Release: 698 +Release: 699 License: GPL v2 or later Group: Productivity/Security Provides: pam_opie @@ -45,6 +45,7 @@ Patch11: %{name}-%{version}_array-subscript.patch Patch12: %{name_pam}-%{version_pam}_array-subscript.patch Patch13: %name-2.4-getline.patch +Patch14: %name-2.4-fclose.patch Summary: Support for One-Time Passwords BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -84,15 +85,12 @@ %patch12 cd .. %patch13 +%patch14 %build # build opie export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" -./configure \ - --prefix=%{_prefix} \ - --mandir=%{_mandir} \ - --sysconfdir=%{_sysconfdir} \ - --enable-insecure-override +%configure --enable-insecure-override make # build pam_opie cd %{name_pam} ++++++ opie-2.4-fclose.patch ++++++ --- permsfile.c +++ permsfile.c @@ -154,10 +154,14 @@ return; } do { - if (feof(fh)) + if (feof(fh)) { + fclose(fh); return; - if (fgets(buf, BUFSIZE, fh) == NULL) + } + if (fgets(buf, BUFSIZE, fh) == NULL) { + fclose(fh); return; + } buf[BUFSIZE-1] = 0; doaline(buf, name, ttyn, uid, gid); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org