Issue 523 - Segmentation fault in in.xfingerd
Summary: Segmentation fault in in.xfingerd
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-05-03 12:36 UTC by nalin@redhat.com
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Kurt Zeilenga 2000-05-03 08:07:59 UTC
changed notes
changed state Open to Release
Comment 1 Kurt Zeilenga 2000-05-03 08:08:06 UTC
moved from Incoming to Software Bugs
Comment 2 nalin@redhat.com 2000-05-03 12:36:55 UTC
Full_Name: Nalin Dahyabhai
Version: 1.2.9/1.2.10
OS: Linux 2.2.14
URL: http://people.redhat.com/nalin/patches/openldap-1.2.10-comma.patch
Submission from: (NULL) (207.175.42.207)


in.xfingerd always dumps core when given a query with a comma in it.  The
appears to
be caused by a NULL value being passed in to ldap_ufn_setprefix().  The patch
listed
here modifies ldap_ufn_setprefix() so that it ignores NULL values.
Comment 3 Kurt Zeilenga 2000-05-03 13:25:31 UTC
I applied the following patch to devel/releng12:
http://www.openldap.org/devel/cvsweb.cgi/libraries/libldap/ufn.c.diff?r1=1.19&r2=1.20
http://www.openldap.org/devel/cvsweb.cgi/libraries/libldap/ufn.c.diff?r1=1.4.2.5&r2=1.4.2.5.2.1

Please test.

At 12:36 PM 5/3/00 GMT, nalin@redhat.com wrote:
>Full_Name: Nalin Dahyabhai
>Version: 1.2.9/1.2.10
>OS: Linux 2.2.14
>URL: http://people.redhat.com/nalin/patches/openldap-1.2.10-comma.patch
>Submission from: (NULL) (207.175.42.207)
>
>
>in.xfingerd always dumps core when given a query with a comma in it.  The
>appears to
>be caused by a NULL value being passed in to ldap_ufn_setprefix().  The patch
>listed
>here modifies ldap_ufn_setprefix() so that it ignores NULL values.
>
>
>
Comment 4 nalin@redhat.com 2000-05-03 14:18:10 UTC
On Wed, May 03, 2000 at 03:25:31PM +0200, Kurt D. Zeilenga wrote:
> I applied the following patch to devel/releng12:
> http://www.openldap.org/devel/cvsweb.cgi/libraries/libldap/ufn.c.diff?r1=1.19&r2=1.20
> http://www.openldap.org/devel/cvsweb.cgi/libraries/libldap/ufn.c.diff?r1=1.4.2.5&r2=1.4.2.5.2.1
> 
> Please test.

The patch from 1.4.2.5 to 1.4.2.5.2.1 applies cleanly, and in.xfingerd
no longer segfaults.

Thanks!

Nalin
Comment 5 Kurt Zeilenga 2000-06-08 16:27:27 UTC
changed notes
changed state Release to Closed
Comment 6 OpenLDAP project 2014-08-01 21:06:54 UTC
fix applied to devel/re1.2, test feedback okay
released with 1.2.11