[Date Prev][Date Next]
(ITS#3452) memory issues in back-meta
Full_Name: Pierangelo Masarati
Submission from: (NULL) (126.96.36.199)
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.