Enrico Weigelt, metux IT consult
cd13a40667
Xext: selinux: fix possible NULL dereference
> ../Xext/xselinux_ext.c: In function ‘SELinuxSendItemsToClient’:
> ../Xext/xselinux_ext.c:358:18: warning: dereference of possibly-NULL ‘buf’ [CWE-690] [-Wanalyzer-possible-null-dereference]
> 358 | buf[pos] = items[k].id;
> | ~~~~~~~~~^~~~~~~~~~~~~
> ../Xext/xselinux_ext.c: In function ‘SELinuxFreeItems’:
> ../Xext/xselinux_ext.c:335:9: warning: dereference of possibly-NULL ‘items’ [CWE-690] [-Wanalyzer-possible-null-dereference]
> 335 | freecon(items[k].octx);
> | ^~~~~~~~~~~~~~~~~~~~~~
> ../Xext/xselinux_ext.c: In function ‘SELinuxPopulateItem’:
> ../Xext/xselinux_ext.c:321:11: warning: dereference of possibly-NULL ‘i’ [CWE-690] [-Wanalyzer-possible-null-dereference]
> 321 | i->id = id;
> | ~~~~~~^~~~
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:32:49 +02:00
..
2025-02-06 22:28:49 +00:00
2025-02-24 20:19:55 +00:00
2017-03-27 15:59:47 -04:00
2025-02-26 13:34:19 +00:00
2025-02-23 17:53:25 +00:00
2024-10-10 13:38:31 +00:00
2020-07-05 13:07:33 -07:00
2025-02-24 20:06:30 +00:00
2025-06-12 16:24:18 +02:00
2025-06-12 16:24:18 +02:00
2025-06-12 16:24:18 +02:00
2014-01-12 10:24:11 -08:00
2025-02-06 22:28:51 +00:00
2025-02-12 17:48:30 +01:00
2025-02-18 10:53:44 +00:00
2025-06-12 16:30:13 +02:00
2025-06-12 16:24:18 +02:00
2025-06-12 16:24:18 +02:00
2024-10-10 13:38:31 +00:00
2014-01-12 10:24:11 -08:00
2025-06-12 16:32:46 +02:00
2019-04-17 14:01:17 -07:00
2017-09-20 13:19:27 -04:00
2025-02-06 22:28:52 +00:00
2025-02-18 10:53:44 +00:00
2024-06-23 21:07:48 +00:00
2014-01-12 10:24:11 -08:00
2025-02-06 22:28:52 +00:00
2025-02-07 12:00:53 +01:00
2025-06-12 16:32:38 +02:00
2025-06-12 16:32:49 +02:00
2025-06-12 16:19:24 +02:00
2024-10-10 13:38:31 +00:00
2024-03-25 19:40:04 +00:00
2024-03-03 23:20:06 +00:00
2025-06-12 16:19:33 +02:00
2025-06-12 16:24:18 +02:00
2025-02-07 10:08:41 +01:00
2025-02-07 10:08:41 +01:00
2025-02-06 23:02:06 +00:00
2025-02-06 23:29:10 +00:00
2024-10-10 19:59:48 +00:00