Date: Mon, 6 Feb 2006 12:33:48 +0000 (GMT) From: alessandro.dellavedova@ifom-ieo-campus.it To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/92887: [patch] net/freeradius Dictionary bug on x64 Message-ID: <20060206123348.A75E543D48@mx1.FreeBSD.org> Resent-Message-ID: <200602061240.k16Ce4cQ094493@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92887 >Category: ports >Synopsis: [patch] net/freeradius Dictionary bug on x64 >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 06 12:40:03 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Alessandro Dellavedova <alessandro.dellavedova@gmail.com> >Release: FreeBSD 5.4-RELEASE-p8 amd64 >Organization: European Institute of Oncology >Environment: System: FreeBSD radiustest 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 #0: Tue Dec 27 12:14:23 CET 2005 root@caino.ieo-research.it:/usr/obj/usr/src/sys/CAINO amd64 >Description: Fixes a bug on 64 bit arch reported as bug 312 on freeradius bug reporting system (http://bugs.freeradius.org/show_bug.cgi?id=312) >How-To-Repeat: >Fix: --- freeradius.patch begins here --- diff -ruN /usr/ports/net/freeradius/Makefile /root/freeradius/Makefile --- /usr/ports/net/freeradius/Makefile Mon Feb 6 10:11:59 2006 +++ /root/freeradius/Makefile Mon Feb 6 10:58:52 2006 @@ -7,6 +7,7 @@ PORTNAME= freeradius PORTVERSION= 1.1.0 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= ftp://ftp.freeradius.org/pub/radius/ \ http://freeradius.portal-to-web.de/ \ diff -ruN /usr/ports/net/freeradius/files/patch-src-lib-dict.c /root/freeradius/files/patch-src-lib-dict.c --- /usr/ports/net/freeradius/files/patch-src-lib-dict.c Thu Jan 1 01:00:00 1970 +++ /root/freeradius/files/patch-src-lib-dict.c Mon Feb 6 10:16:58 2006 @@ -0,0 +1,11 @@ +--- src/lib/dict.c.orig Mon Feb 6 10:15:41 2006 ++++ src/lib/dict.c Mon Feb 6 10:16:07 2006 +@@ -1207,7 +1207,7 @@ + if (!name) return NULL; + + hash = dict_hashname(name); +- hash = lrad_hash_update(&attr, sizeof(&attr), hash); ++ hash = lrad_hash_update(&attr, sizeof(attr), hash); + + return lrad_hash_table_finddata(values_byname, hash); + } --- freeradius.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060206123348.A75E543D48>