Hello community, here is the log from the commit of package iproute2 for openSUSE:Factory checked in at Wed Jul 29 15:51:21 CEST 2009. -------- --- iproute2/iproute2.changes 2009-02-19 14:04:34.000000000 +0100 +++ /mounts/work_src_done/STABLE/iproute2/iproute2.changes 2009-07-28 13:36:12.000000000 +0200 @@ -1,0 +2,6 @@ +Tue Jul 28 13:31:54 CEST 2009 - ms@suse.de + +- make sure do_tunnels_list proc file descriptor will be + closed after use or on proc read error (bnc #525834) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- iproute2-2.6.25-iptunnel-fclose.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iproute2.spec ++++++ --- /var/tmp/diff_new_pack.fJbwjM/_old 2009-07-29 15:48:28.000000000 +0200 +++ /var/tmp/diff_new_pack.fJbwjM/_new 2009-07-29 15:48:28.000000000 +0200 @@ -25,7 +25,7 @@ Provides: iproute AutoReqProv: on Version: 2.6.25 -Release: 45 +Release: 46 Summary: Advanced Routing Url: http://developer.osdl.org/dev/iproute2/ Source0: %name-%version.tar.bz2 @@ -43,6 +43,7 @@ Patch11: %name-2.6.25-hw-address-size.diff Patch12: %name-2.6.25-skbedit-memset.diff Patch13: %name-2.6.25-ss-inet6.diff +Patch14: %name-2.6.25-iptunnel-fclose.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %package -n libnetlink-devel @@ -85,6 +86,7 @@ %patch11 -p1 %patch12 %patch13 +%patch14 find . -name *.orig -print0 | xargs -r0 rm -v %build ++++++ iproute2-2.6.25-iptunnel-fclose.diff ++++++ --- ip/iptunnel.c 2009-07-28 13:28:59.000000000 +0200 +++ ip/iptunnel.c 2009-07-28 13:29:29.000000000 +0200 @@ -400,6 +400,7 @@ if ((ptr = strchr(buf, ':')) == NULL || (*ptr++ = 0, sscanf(buf, "%s", name) != 1)) { fprintf(stderr, "Wrong format of /proc/net/dev. Sorry.\n"); + fclose (fp); return -1; } if (sscanf(ptr, "%ld%ld%ld%ld%ld%ld%ld%*d%ld%ld%ld%ld%ld%ld%ld", @@ -438,6 +439,7 @@ } printf("\n"); } + fclose (fp); return 0; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de