(ITS#7090) back-mdb produces wrong slapcat output

Full_Name: Michael Ströder
Version: RE24 pulled from git
OS:
URL:
Submission from: (NULL) (84.163.26.40)
slapcat with back-mdb mixes entry data in the LDIF output. The entry affected
had a DN of another entry while retrieving the same entry via LDAP worked
correctly. I observed this for one entry of several hundred entries.
I currently can't provide test data because this was my private address book
data. But it was reproducable with slapadd-ed data from an older clean backup
LDIF file. The last correct backup file I have slapcating with back-mdb is of
2011-11-12. I'm building RE24 almost daily from git. Maybe something bad
happened at that time.
Will try to reproduce with other data but be warned to keep an eye on that.