openbsd-xenocara/lib/libXi
aoyama dd4313439f 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@
2023-08-02 13:57:24 +00:00
..
include/X11/extensions Update to libXi 1.8.1 2023-07-03 08:26:45 +00:00
m4 Update to libXi 1.8.1 2023-07-03 08:26:45 +00:00
man Update to libXi 1.8.1 2023-07-03 08:26:45 +00:00
specs Update to libXi 1.8.1 2023-07-03 08:26:45 +00:00
src Add pad_to_double() when the function allocates memories for 'double' 2023-08-02 13:57:24 +00:00
COPYING
ChangeLog Update to libXi 1.8.1 2023-07-03 08:26:45 +00:00
INSTALL
Makefile.am
Makefile.bsd-wrapper
Makefile.in Update to libXi 1.8.1 2023-07-03 08:26:45 +00:00
README.md Update to libXi 1.8.1 2023-07-03 08:26:45 +00:00
aclocal.m4 Update to libXi 1.8.1 2023-07-03 08:26:45 +00:00
compile Update to libXi 1.8.1 2023-07-03 08:26:45 +00:00
config.guess
config.sub
configure Update to libXi 1.8.1 2023-07-03 08:26:45 +00:00
configure.ac Update to libXi 1.8.1 2023-07-03 08:26:45 +00:00
depcomp
docbook.am
install-sh Update to libXi 1.8.1 2023-07-03 08:26:45 +00:00
ltmain.sh
missing
xi.pc.in

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