ports/143656: Latest FreeRADIUS 2.1.8 segfaults when rlm_perl in used

Michael A. Revenko mike at anthea.com.ua
Mon Feb 8 01:20:02 UTC 2010


>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 at 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:



More information about the freebsd-ports-bugs mailing list