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

(ITS#5388) NULL pointer dereference



Full_Name: Dennis Henriksen
Version: 2.4.8
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (194.237.142.10)


In server/slapd/oc.c(oc_next) suffers from a potential NULL pointer dereference
in the statement '*oc = LDAP_STAILQ_NEXT(*oc,soc_next);'. Perhaps this should
read (if *oc != NULL) *oc = LDAP_STAILQ_NEXT(*oc,soc_next);'