node-ldapjs/test
Patrick Mooney 48bd7bfe82 Fix message parsing for length-sensitive types
Certain LDAP messages (such as DeleteRequest) encode their contents as
raw bytes within the top-level sequence object.  As such, they rely
their length being passed to them when LDAPMessage decodes the sequence.

This was being done incorrectly, but would not manifest itself as a
problem unless controls followed the message.  If no controls were
present, then length of the sequence item was bounded by the message
itself and the parse would succeed.

Fix mcavage/node-ldapjs#212
2014-07-16 18:53:06 -05:00
..
controls Preserve raw Buffer value in Control objects 2014-07-14 14:47:56 -05:00
filters Convert tests to use tape/istanbul/faucet 2014-07-08 15:09:26 -05:00
messages Convert tests to use tape/istanbul/faucet 2014-07-08 15:09:26 -05:00
attribute.test.js Convert tests to use tape/istanbul/faucet 2014-07-08 15:09:26 -05:00
change.test.js Simplify and fix Change.apply tests for replace 2014-07-16 15:03:15 -05:00
client.test.js Fix message parsing for length-sensitive types 2014-07-16 18:53:06 -05:00
dn.test.js Convert tests to use tape/istanbul/faucet 2014-07-08 15:09:26 -05:00
laundry.test.js Convert tests to use tape/istanbul/faucet 2014-07-08 15:09:26 -05:00
server.test.js Convert tests to use tape/istanbul/faucet 2014-07-08 15:09:26 -05:00
test.js Convert tests to use tape/istanbul/faucet 2014-07-08 15:09:26 -05:00
url.test.js Convert tests to use tape/istanbul/faucet 2014-07-08 15:09:26 -05:00