https://bugs.openldap.org/show_bug.cgi?id=9643
Issue ID: 9643 Summary: back-wt: entry_decode failure. Product: OpenLDAP Version: 2.5.6 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: backends Assignee: bugs@openldap.org Reporter: hamano@osstech.co.jp Target Milestone: ---
https://bugs.openldap.org/show_bug.cgi?id=9463
ondra mentioned:
e.g. ./run -b wt -l 50 test034
I reproduced the issue by iterating test034. And I figure out the issue is in entry_encode/decode. It happens stochastically by reading memory outside the malloc area when decoding special entry (only dn entry without attributes). Since entry_encode/decode was originally used by back-bdb and back-hdb, these backends also had this problem. Currently It seems that only back-wt is using entry_encode/decode. I'll fork entry_encode/decode and create wt_entry_encode/decode. Then, we can remove entry_encode/decode.