Files
xserver/hw/xwin
Enrico Weigelt, metux IT consult 2e631d1454 xwin: fix compiler warning on potential buffer read overflow
> ../hw/xwin/InitOutput.c: In function ‘XwinExtensionInit’:
> ../hw/xwin/InitOutput.c:142:5: warning: ‘LoadExtensionList’ reading 12 bytes from a region of size 0 [-Wstringop-overread]
>   142 |     LoadExtensionList(xwinExtensions, ARRAY_SIZE(xwinExtensions), TRUE);
>       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ../hw/xwin/InitOutput.c:142:5: note: referencing argument 1 of type ‘const ExtensionModule[0]’
> In file included from ../include/extnsionst.h:53,
>                  from ../randr/randrstr.h:40,
>                  from ../hw/xwin/win.h:174,
>                  from ../hw/xwin/InitOutput.c:35:
> ../include/extension.h:100:23: note: in a call to function ‘LoadExtensionList’
>   100 | extern _X_EXPORT void LoadExtensionList(const ExtensionModule ext[],
>       |                       ^~~~~~~~~~~~~~~~~

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-04 15:10:51 +01:00
..
2025-09-29 12:34:42 +02:00
2025-06-12 17:21:46 +02:00
2020-07-05 13:07:33 -07:00
2025-07-18 22:24:55 +02:00
2019-05-01 14:06:15 +00:00
2020-07-05 13:07:33 -07:00
2014-10-09 09:27:21 +02:00
2024-03-19 02:05:35 +00:00
2016-03-09 16:13:54 +00:00
2015-03-23 16:01:58 +00:00
2025-06-12 17:21:46 +02:00