Place a limit on the number of elements in a ber sequence/set. This prevents
authorrob <rob@openbsd.org>
Fri, 3 Aug 2018 01:51:28 +0000 (01:51 +0000)
committerrob <rob@openbsd.org>
Fri, 3 Aug 2018 01:51:28 +0000 (01:51 +0000)
commit477e6dcfe2d7469b85e3760c740ba1e301b2f016
tree4dd72d0f3c4eb8a74eb060189936e1fbcc89c118
parent77395c0435059967a0285d2c82d9493369515ba3
Place a limit on the number of elements in a ber sequence/set. This prevents
possible stack overflow due to recursion in ber_free_elements().

ok claudio@
usr.bin/ldap/ber.c
usr.bin/ldap/ber.h
usr.sbin/ldapd/ber.c
usr.sbin/ldapd/ber.h
usr.sbin/snmpd/ber.c
usr.sbin/snmpd/ber.h
usr.sbin/ypldap/ber.c
usr.sbin/ypldap/ber.h