https://bugs.openldap.org/show_bug.cgi?id=9920
--- Comment #26 from kero renault.cle@gmail.com ---
As such, you've told it to reserve 16 bytes of space that will always be uninitialized since the encryption function never touches it.
Yes, I specifically asked it to reserve 16 bytes of auth data. I don't use them in the encryption algorithm, but they are just used to show that it breaks anyway. You can maybe try to reproduce it with mtest_enc2.c. I didn't try it much.
Apart from asking for a large enough buffer for the auth data, is there anything more LMDB can do to provide the buffer? It is not mandatory to use it. It works as a reproducer even though I don't use the 16 bytes, right?