Hello community, here is the log from the commit of package iproute2 checked in at Fri May 26 12:58:56 CEST 2006. -------- --- iproute2/iproute2.changes 2006-04-03 18:21:43.000000000 +0200 +++ iproute2/iproute2.changes 2006-05-26 01:22:53.000000000 +0200 @@ -1,0 +2,5 @@ +Fri May 26 01:22:34 CEST 2006 - schwab@suse.de + +- Fix crash while resolving addresses. + +------------------------------------------------------------------- New: ---- iproute2-resolve-address.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iproute2.spec ++++++ --- /var/tmp/diff_new_pack.is6t14/_old 2006-05-26 12:58:38.000000000 +0200 +++ /var/tmp/diff_new_pack.is6t14/_new 2006-05-26 12:58:38.000000000 +0200 @@ -18,7 +18,7 @@ Provides: iproute Autoreqprov: on Version: 2.6.15 -Release: 8 +Release: 14 Summary: Advanced Routing URL: http://developer.osdl.org/dev/iproute2/ Source0: %name-%version-%dateversion.tar.bz2 @@ -28,6 +28,7 @@ Patch2: %name-2.6.15-fragtimeout.diff Patch3: %name-2.6.14-nostrip.diff Patch4: %name-tc-flex-fixes.patch +Patch5: %name-resolve-address.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %package -n libnlink Summary: A Higher Level Interface to the Netlink Service @@ -60,6 +61,7 @@ %patch2 %patch3 -p1 %patch4 +%patch5 find . -name *.orig -print0 | xargs -r0 rm -v %build @@ -108,6 +110,8 @@ %_libdir/lib* %changelog -n iproute2 +* Fri May 26 2006 - schwab@suse.de +- Fix crash while resolving addresses. * Mon Apr 03 2006 - hvogel@suse.de - fix flex input file to use uppercase STR to avoid conflicts. This prevented tc from being build [#162931] ++++++ iproute2-resolve-address.diff ++++++ --- lib/utils.c +++ lib/utils.c @@ -439,7 +439,7 @@ len = 4; } - hash = addr[len-1] ^ addr[len-2] ^ addr[len-3] ^ addr[len-4]; + hash = (addr[len-1] ^ addr[len-2] ^ addr[len-3] ^ addr[len-4]) & 0xff; for (n = nht[hash]; n; n = n->next) { if (n->addr.family == af && ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun...
participants (1)
-
root@suse.de