xserver/hw/xfree86/int10
Enrico Weigelt, metux IT consult f759a7eee7 (!1909) xfree86: use calloc() instead of malloc()
Using calloc() instead of malloc() as preventive measure, so there
never can be any hidden bugs or leaks due uninitialized memory.

The extra cost of using this compiler intrinsic should be practically
impossible to measure - in many cases a good compiler can even deduce
if certain areas really don't need to be zero'd (because they're written
to right after allocation) and create more efficient machine code.

The code pathes in question are pretty cold anyways, so it's probably
not worth even thinking about potential extra runtime costs.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 11:37:33 +02:00
..
INT10.HOWTO Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
generic.c xfree86: int10: move private defs out of xf86int10.h 2025-02-06 23:51:33 +00:00
helper_exec.c xfree86: use LogMessageVerb() instead of xf86MsgVerb() 2025-02-07 22:40:06 +00:00
helper_mem.c (!1909) xfree86: use calloc() instead of malloc() 2025-06-03 11:37:33 +02:00
meson.build xfree86: Merge vbe into int10 2019-10-02 10:03:26 -04:00
stub.c int10: fix build error 2014-04-27 12:02:16 -04:00
vbe.c (!1909) xfree86: use calloc() instead of malloc() 2025-06-03 11:37:33 +02:00
vbe.h (!1993) xfree86: vbe: drop unused VBEGetVBEpmi() 2025-06-03 11:37:29 +02:00
vbeModes.c (!1969) xfree86: int10: extra NULL protection 2025-06-03 11:37:31 +02:00
vbeModes.h xfree86: Merge vbe into int10 2019-10-02 10:03:26 -04:00
x86emu.c Remove libcwrapper usage from xorg server modules. The libcwrapper is only 2006-02-10 22:00:30 +00:00
xf86int10.c xfree86: int10: move private defs out of xf86int10.h 2025-02-06 23:51:33 +00:00
xf86int10.h xfree86: int10: move private defs out of xf86int10.h 2025-02-06 23:51:33 +00:00
xf86int10_priv.h xfree86: int10: move private defs out of xf86int10.h 2025-02-06 23:51:33 +00:00
xf86int10module.c xfree86: xf86int10module: use explicit field initializers for XF86ModuleData 2025-02-17 19:41:30 +00:00
xf86x86emu.c xfree86: int10: move private defs out of xf86int10.h 2025-02-06 23:51:33 +00:00
xf86x86emu.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00