[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#7191) libmdb: Alignment of MDB_db members
Full_Name: Roy Keene
Version: 2.4.30
OS: Solaris 10
URL: ftp://ftp.openldap.org/incoming/openldap-2.4.30-mdb-alignment-1rsk.diff
Submission from: (NULL) (140.194.193.14)
Several members of the MDB_db members are not aligned in the "db" or "mx->mx_db"
objects. This causes a SIGBUS upon assignment.
Breaking the assignment into an assignment of its members and using the existing
COPY_PGNO() alleviates this fault.
Patch attached is a naive approach.