[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#6617) back-sql: 64-bit parent IDs get munged

> 64-bit values for (at least) parent IDs do not get resolved correctly -
> only the
> lower 32 bits are preserved.  This leads up to a crash as it tries to
> resolve a
> non-existant ID:
> To reproduce:
> ldap_entries has a row with an ID of 1000000000 with a parent of
> 9999999999 (and
> a row 9999999999 for the parent).  When back-sql goes to resolve this, the
> following shows in the ODBC trace:
> ldap_entry_objclasses,ldap_entries,ldap_static_entries
> WHERE ldap_static_entries.id=1410065407 AND
> ldap_entries.id=ldap_entry_objclasses.entry_id AND
> ldap_entries.keyval=ldap_static_entries.id and ldap_entries.oc_map_id=4
> (1410065407 = 32-bit rollover of 9999999999).

A (blind) fix is in HEAD; you need to pull modifications related to this
ITS and to ITS#6622.  Please test and report.