commit: ldap/libraries/liblber bprint.c encode.c io.c lber-int.h
by hallvard@OpenLDAP.org
Update of /repo/OpenLDAP/pkg/ldap/libraries/liblber
Modified Files:
bprint.c 1.61 -> 1.62
encode.c 1.72 -> 1.73
io.c 1.125 -> 1.126
lber-int.h 1.74 -> 1.75
Log Message:
More ITS#6215 -
Speedup & less memory allocation:
Simplify the work to encode tag, length, integer/enum, sequence/set.
Drop struct seqorset and allocations of it. Replace BerElement.ber_sos.
Drop ber_write(,,,nonzero) support. Callers, if any, need to be rewritten.
Make ber_log_sos_dump() and ber_sos_dump() stubs, they could no longer work.
Fix ber_write() buffer overrun after ber_start_seqorset().
Check overflow and max sizes, e.g. for functions returning int size.
Some cleanup, and handwaves in the direction of supporting CHAR_BIT>8.
Add/fix comments and a few descriptive types/macros.
CVS Web URLs:
http://www.openldap.org/devel/cvsweb.cgi/libraries/liblber/
http://www.openldap.org/devel/cvsweb.cgi/libraries/liblber/bprint.c
http://www.openldap.org/devel/cvsweb.cgi/libraries/liblber/encode.c
http://www.openldap.org/devel/cvsweb.cgi/libraries/liblber/io.c
http://www.openldap.org/devel/cvsweb.cgi/libraries/liblber/lber-int.h
Changes are generally available on cvs.openldap.org (and CVSweb)
within 30 minutes of being committed.
14 years, 1 month