https://bugs.openldap.org/show_bug.cgi?id=9198
--- Comment #7 from 1259039012@qq.com --- (In reply to Ryan Tandy from comment #6)
OK. So already fixed in master by https://git.openldap.org/openldap/openldap/commit/ 08f5aca7db1e48ce61c1f4914157efb64f01a32e#6f9f9654295fee0f3c4c4100a1a20b494937 9099 which is the same patch you've attached here. So this bug is a request to pull it to the 2.4 branch?
Yes, I hope the upcoming version will solve this problem, such as 2.4.50.