fix-s390x-failure
authorDebian FreeIPA Team <pkg-freeipa-devel@alioth-lists.debian.net>
Sun, 19 Jan 2025 12:30:31 +0000 (13:30 +0100)
committerAndrej Shadura <andrewsh@debian.org>
Sun, 19 Jan 2025 12:30:31 +0000 (13:30 +0100)
commit959567864c020b3351fdee091a23d0627ecfdd52
tree2f8bda495713e361421a599c4be188c0d0c6ccba
parent6a283c161c3e4b8ef47f058a8d100f991e5ae87b
fix-s390x-failure

commit 900e6fdcf152dd696b5ae189cb1d7c67ab143bae
Author: tbordaz <tbordaz@redhat.com>
Date:   Thu Jan 28 10:39:31 2021 +0100

    Issue 4563 - Failure on s390x: 'Fails to split RDN "o=pki-tomcat-CA" into components' (#4573)

    Bug description:
            SLAPI_OPERATION_TYPE is a stored/read as an int (slapi_pblock_get/set).
            This although the storage field is an unsigned long.
            Calling slapi_pblock_get with an long (8 btyes) destination creates
            a problem on big-endian (s390x).

    Fix description:
            Define destination op_type as an int (4 bytes)

    relates: https://github.com/389ds/389-ds-base/issues/4563

    Reviewed by: Mark Reynolds, William Brown

    Platforms tested: F31 (little endian), Debian (big endian)

Gbp-Pq: Name fix-s390x-failure.diff
ldap/servers/slapd/back-ldbm/ldbm_modify.c