LDAPSunMerge: Difference between revisions

1,006 bytes added ,  9 August 2006
m (LDAPSunMerge/// moved to LDAPSunMerge: revert)
Line 2: Line 2:


=== liblber ===
=== liblber ===
Bugzilla Bug 347933 https://bugzilla.mozilla.org/show_bug.cgi?id=347933 with the first cut of the patch is filed. the following files are affected by the patch :
mozilla/directory/c-sdk/ldap/include/lber.h
mozilla/directory/c-sdk/ldap/include/portable.h
mozilla/directory/c-sdk/ldap/libraries/liblber/decode.c
mozilla/directory/c-sdk/ldap/libraries/liblber/encode.c
mozilla/directory/c-sdk/ldap/libraries/liblber/io.c
mozilla/directory/c-sdk/ldap/libraries/liblber/lber-int.h
mozilla/directory/c-sdk/ldap/libraries/libldap/compat.c
mozilla/directory/c-sdk/ldap/libraries/libldap/control.c
mozilla/directory/c-sdk/ldap/libraries/libldap/error.c
mozilla/directory/c-sdk/ldap/libraries/libldap/extendop.c
mozilla/directory/c-sdk/ldap/libraries/libldap/getattr.c
mozilla/directory/c-sdk/ldap/libraries/libldap/psearch.c
mozilla/directory/c-sdk/ldap/libraries/libldap/result.c
mozilla/directory/c-sdk/ldap/libraries/libldap/saslbind.c
mozilla/directory/c-sdk/ldap/libraries/libldap/sortctrl.c
* Sun is using ber typedefs for the ber tags, lengths, sizes, and they are using the same typedefs as OpenLDAP uses (e.g. see /usr/include/lber_types.h on a linux system).  This will help with OpenLDAP compatability.
* Sun is using ber typedefs for the ber tags, lengths, sizes, and they are using the same typedefs as OpenLDAP uses (e.g. see /usr/include/lber_types.h on a linux system).  This will help with OpenLDAP compatability.
* decode.c - Sun added explicit boundary checking for bad ber lengths, and explicit freeing of allocated buffers upon ber failures
* decode.c - Sun added explicit boundary checking for bad ber lengths, and explicit freeing of allocated buffers upon ber failures