I have tested a fix and uploaded the patch to ftp.openldap.org/incoming as = "ian-puleston-110214.patch". It includes small updates to 4 files in the op= enldap directory - ldap-int.h, open.c, request.c and cyrus.c.
Note that I have not tested the change to cyrus.c since that file is not in= cluded in the build that I use, but it is pretty much the same as that to r= equest.c.