https://bugs.openldap.org/show_bug.cgi?id=10538
--- Comment #3 from github@nicwatson.org github@nicwatson.org ---
Note that the documentation already specifies that values may only be up to 0xffffffff bytes long (2**32 - 1). A value of 2**32 bytes long is not valid.
As demonstrated in the reproducer, since the length is rounded up, a value of length slightly less than 2**32 will cause the WriteFile with value 2**32.