xserver/hw/xfree86
Enrico Weigelt, metux IT consult 2ad73189b4 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-05-22 18:59:05 +02:00
..
common xfree86: use calloc() instead of malloc() 2025-05-22 18:59:05 +02:00
ddc xfree86: use calloc() instead of malloc() 2025-05-22 18:59:05 +02:00
dixmods xfree86: shmodule: use explicit field initializers for XF86ModuleData 2025-02-17 19:41:30 +00:00
doc xfree86: doc: update docs on XF86ModuleData 2025-02-17 19:41:30 +00:00
dri xfree86: use calloc() instead of malloc() 2025-05-22 18:59:05 +02:00
dri2 xfree86: use calloc() instead of malloc() 2025-05-22 18:59:05 +02:00
drivers xfree86: use calloc() instead of malloc() 2025-05-22 18:59:05 +02:00
exa exa.man: editorial changes for this man page 2025-03-29 12:25:00 -07:00
fbdevhw man pages: use .BR to mark up man page references 2025-03-29 13:36:54 -07:00
glamor_egl drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
i2c xfree86: i2c: use LogMessageVerb() instead of xf86Msg() 2025-02-07 22:40:06 +00:00
int10 xfree86: use calloc() instead of malloc() 2025-05-22 18:59:05 +02:00
loader xfree86: use calloc() instead of malloc() 2025-05-22 18:59:05 +02:00
man man pages: use .BR to mark up man page references 2025-03-29 13:36:54 -07:00
modes xfree86: use calloc() instead of malloc() 2025-05-22 18:59:05 +02:00
os-support xfree86: use calloc() instead of malloc() 2025-05-22 18:59:05 +02:00
parser xfree86: use calloc() instead of malloc() 2025-05-22 18:59:05 +02:00
ramdac mi: unexport miPointerWarpCursor() 2025-02-06 14:38:05 +00:00
shadowfb xfree86: use calloc() instead of malloc() 2025-05-22 18:59:05 +02:00
utils xfree86: use calloc() instead of malloc() 2025-05-22 18:59:05 +02:00
vgahw xfree86: use calloc() instead of malloc() 2025-05-22 18:59:05 +02:00
x86emu xfree86: x86emu: rename segment register fields 2024-06-18 00:41:38 +00:00
xkb dix: unexport non-public functions from dixgrabs.h and document prototypes 2024-10-10 13:50:57 +00:00
.gitignore Xorg: Add Xorg.wrap to hw/xfree86/.gitignore 2014-04-18 11:39:16 +02:00
Xorg.sh.in xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
meson.build meson: Support building Xnest and Xorg on darwin 2022-06-26 09:16:42 +00:00
sdksyms.sh Revert "mi: drop now obsolete mioverlay.h" 2025-02-27 11:53:54 +00:00
xorg-wrapper.c Fix various spelling errors 2019-10-01 17:05:28 +00:00
xorgconf.cpp Fix spelling/wording issues 2020-07-05 13:07:33 -07:00