Issue 328 - ud segfault
Summary: ud segfault
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: 1999-10-17 23:17 UTC by jeff@laserlink.net
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 jeff@laserlink.net 1999-10-17 23:17:50 UTC
Full_Name: Jeff Horwitz
Version: 1.2.7
OS: RedHat 6.0 (kernel 2.2.10)
URL: http://www.laserlink.net/~jeff/openldap/jeff-horwitz-991017.patch
Submission from: (NULL) (63.26.11.131)


ud segfaults in my_ldap_dn2ufn (util.c) because of a NULL pointer in strstr. 
Most
notably, this causes ud to dump core during a "find" of a group.  Replacing the
NULL pointer with the one-character string "\0" fixes the problem.

The supplied patch can be applied as follows:

1) copy the patch to the root directory of your OpenLDAP distribution.
2) patch -p1 < jeff-horwitz-991017.patch
Comment 1 Kurt Zeilenga 1999-10-18 15:13:02 UTC
moved from Incoming to Software Bugs
Comment 2 Kurt Zeilenga 1999-11-03 20:11:26 UTC
Your patch is not accessible.
Comment 3 jeff@laserlink.net 1999-11-03 20:16:31 UTC
sorry about that -- try it again.

---------------------------------------------------------------------------
Jeff Horwitz                                 E-mail: jeff@laserlink.net
Manager of Systems Operations                Phone: (610) 627-4575
LaserLink.Net, Inc.                          Web: http://www.laserlink.net

On Wed, 3 Nov 1999, Kurt Zeilenga wrote:

> Your patch is not accessible.
> 

Comment 4 Kurt Zeilenga 1999-12-10 17:27:14 UTC
changed notes
changed state Open to Closed
Comment 5 OpenLDAP project 2014-08-01 21:06:53 UTC
released with 1.2.8