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

Re: (ITS#5687) corrupted double-linked list on shutdown



ando@sys-net.it wrote:
> The problem is in glue_op_search(): it saves a copy of the rewritten DN; 
> in case of CTRL^C, the rewritten DN is deleted by rwm_op_cleanup, and a 
> dangling pointer to it is later restored in o_req_[n]dn by 
> glue_op_search (lines 446-7 or 463-4).  Trying to fix it...

I've applied a fix that works around this issue without apparently 
breaking back-glue (servers/slapd/backglue.c 1.139 -> 1.140).  Please test.

p.


Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Fax:     +39 0382 476497
Email:   ando@sys-net.it
-----------------------------------