Re: ber.c fix for length calculations

2018-06-25 Thread Claudio Jeker
On Sun, Jun 24, 2018 at 05:58:09PM -0400, Rob Pierce wrote: > It looks like a BER problem found while testing the new ldap client (with an > empty password) was already addressed in snmpd back in 2010 by martinh. > > In LDAP under a CONTEXT class, 0 corresponds to LDAP_AUTH_SIMPLE. This is >

ber.c fix for length calculations

2018-06-24 Thread Rob Pierce
It looks like a BER problem found while testing the new ldap client (with an empty password) was already addressed in snmpd back in 2010 by martinh. In LDAP under a CONTEXT class, 0 corresponds to LDAP_AUTH_SIMPLE. This is currently interpreted as an EOC (end-of-content) and causes a