https://bugs.openldap.org/show_bug.cgi?id=10551
--- Comment #2 from Howard Chu hyc@openldap.org --- Created attachment 1176 --> https://bugs.openldap.org/attachment.cgi?id=1176&action=edit test program
sample code to process the test data to reproduce the issue