xserver/hw
Repository files (latest commit first)
Filename Latest commit message Latest commit date
b-aaz ea4abb01ae xfree86: loader: Fix memory/array bugs in loadmod.
`sizeof` was incorrectly used to get the length of an string in an array
of char pointers (array of strings), which always returns the system's
pointer size (8 on 64bit) instead of the actual string length.
Was fixed by using `strlen` instead.

Additionally the final step that appended the returning array of strings
with another array of strings, also used an incorrect `memcpy` function
to copy the elements.
Was fixed by using an explicit for loop.

And I also replaced the 'length' variables' type's with the proper
`size_t` type instead of `int`, where possible.

Issue and patch from:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=299077

Signed-off-by: b-aaz <b-aazbsd@proton.me>
2026-11-13 15:31:03 +01:00
..
kdrive kdrive/modesetting: pass the gbm device to glamor 2026-10-19 13:09:25 +02:00
stubs license: add X11 OR MIT OR AGPL-3.0-or-later to Enrico Weigelt's source files 2026-07-29 10:02:59 +02:00
vfb test/pyxtest: allow for extra arguments in the xserver fixture 2026-10-02 15:48:32 +02:00
xfree86 xfree86: loader: Fix memory/array bugs in loadmod. 2026-11-13 15:31:03 +01:00
xnest xnest: replace global arrays by devPrivate's 2026-09-23 18:30:53 +02:00
xquartz xquartz: define HAS_LIBDISPATCH only in osxcompat.h 2026-10-13 15:32:39 +02:00
xwin Fix remaining ruff check issues 2026-10-20 19:56:53 +02:00
meson.build kdrive: move ephyr build option check into kdrive's meson.build 2025-08-04 12:57:16 +02:00