Edit

IABSD.fr/xenocara/lib/libXi

Branch :

  • Show log

    Commit

  • Author : aoyama
    Date : 2023-08-02 13:57:24
    Hash : dd431343
    Message : Add pad_to_double() when the function allocates memories for 'double' internally. The functions wireToRawEvent() and copyRawEvent() get memories first, then allocate memory blocks sequentially for several objects include 'double' from there. On m88k, the memory area for 'double' should be 8-byte aligned, but sizeof(XIRawEvent) is 60 and sizeof(out->valuators.mask_len) is 8. In this case, allocated 'double' memory was not 8-byte aligned. Because of this, 'xeyes' on luna88k was aborted with Bus Error right after moving mouse for several years with sys/arch/m88k/m88k/trap.c r.127. Tested by me on luna88k, ok matthieu@

  • README.md
  • libXi - library for the X Input Extension

    All questions regarding this software should be directed at the Xorg mailing list:

    https://lists.x.org/mailman/listinfo/xorg

    The primary development code repository can be found at:

    https://gitlab.freedesktop.org/xorg/lib/libXi

    Please submit bug reports and requests to merge patches there.

    For patch submission instructions, see:

    https://www.x.org/wiki/Development/Documentation/SubmittingPatches