Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2010 01:14:55 GMT
From:      "Michael A. Revenko" <mike@anthea.com.ua>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/143656: Latest FreeRADIUS 2.1.8 segfaults when rlm_perl in used
Message-ID:  <201002080114.o181EtQY047971@www.freebsd.org>
Resent-Message-ID: <201002080120.o181K104042683@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         143656
>Category:       ports
>Synopsis:       Latest FreeRADIUS 2.1.8 segfaults when rlm_perl in used
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 08 01:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Michael A. Revenko
>Release:        7.2-RELEASE, 8.0-RELEASE
>Organization:
Anthea
>Environment:
FreeBSD copperhead.anthea.com.ua 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #1: Mon Feb  8 01:58:36 EET 2010     root@copperhead.anthea.com.ua:/usr/obj/usr/src/sys/TEST  i386
>Description:
When net/freeradius2 is built with perl support and rlm_perl module is used raduisd crashes with segfault
>How-To-Repeat:

>Fix:
add next patch for freeradius2 port

Patch attached with submission follows:

diff -ruN src/main/modules.c.orig src/main/modules.c
--- src/main/modules.c.orig     2009-12-30 17:44:35.000000000 +0200
+++ src/main/modules.c  2010-02-08 01:26:54.000000000 +0200
@@ -207,9 +207,6 @@
  *     Solve the issues of libraries linking to other libraries
  *     by using a newer libltdl API.
  */
-#ifndef HAVE_LT_DLADVISE_INIT
-#define fr_dlopenext lt_dlopenext
-#else
 static lt_dlhandle fr_dlopenext(const char *filename)
 {
        lt_dlhandle handle = 0;
@@ -225,7 +222,6 @@

        return handle;
 }
-#endif /* HAVE_LT_DLADVISE_INIT */
 #endif /* WITHOUT_LIBLTDL */

 static int virtual_server_idx(const char *name)


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002080114.o181EtQY047971>