[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#3452) memory issues in back-meta
Full_Name: Pierangelo Masarati
Version: HEAD/2.2
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (81.74.43.82)
There are a couple of bugs in back-meta (HEAD, 2.2) plus one fixed in HEAD but
not backported to 2.2.
1) in meta_send_entry(), when calling dnNormalize() the __address__ of
op->o_tmpmmctx is erroneously passed instead of op->o_tmpmmctx itself (one of
the odds of using (void*) for cookies ;)
2) in meta_send_entry(), the attribute normalization routines are passed
op->o_tmpmemctx, while they should be passd NULL (as in back-ldap)
3) if a single target is used, the search ends with noSuchObject after returning
all the valid entries.
I've fixed this in HEAD and re22.
p.