[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#3563) incorrect code in slapd/controls.c:parseSubentries()



Full_Name: Paul Kranenburg
Version: 2.2.20
OS: Solaris
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (130.115.112.236)


slapd's controls.c:parseSubentries() is liable to produce a SEGV fault.

The code starting at line 1209 should read:

        if( ( ctrl->ldctl_value.bv_len != 3 )
		|| ( ctrl->ldctl_value.bv_val[0] != 0x01 )
		|| ( ctrl->ldctl_value.bv_val[1] != 0x01 ))
	{
	...
	}