https://bugs.openldap.org/show_bug.cgi?id=9990
--- Comment #6 from Ondřej Kuzník ondra@mistotebe.net --- On Tue, Jan 31, 2023 at 08:52:25PM +0000, openldap-its@openldap.org wrote:
Reading your comments and reviewing the code further, it looks like things may be more complex than my first read. I didn't stop to consider if line 302 op->o_be->be_modify(...) could introduce *new* items onto the op->o_callback list. Sorry about my confusion :-)
Rather than trying to unravel the code further on my own, let me provide an example overlay that no longer works after the ITS#8698 fix. Please see the attached its9990.c file, let me know what you see as the best solution.
Hi Kartik, thanks for the example code, can you try this: https://git.openldap.org/ondra/openldap/-/commit/5a8f6a825d47af7e413b9432b29...