Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Patch
Description
The Dn class is Externalizable and has fields normName and bytes. The readExternal/writeExternal methods preserve the normName field, but ignore the bytes field. The Dn class has a static method, getBytes, which will return null if the Dn instance had been deserialized. The ModifyRequestDecorator uses the Dn getBytes method when encoding the entry name onto the PDU, resulting in a zero length sequence if the Dn had been deserialized, therefore treated like the Root DSE.