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

(ITS#4517) ldap_pvt_runqueue_next_sched() may cause use of freed memory



Full_Name: Pierangelo Masarati
Version: HEAD,re23,re24
OS: irrelevant
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (81.72.89.40)
Submitted by: ando


(Detected by valgrind) in daemon.c ldap_pvt_runqueue_next_sched() is used to
return the scheduling of the next task; but if that task is freed by an
underlying thread by calling ldap_pvt_runqueue_remove(), the pointer points to
invalid memory.

p.