xserver/record
Enrico Weigelt, metux IT consult f1e7e52aa3 record: protect from NULL pointers
Even though the situation probably never happens, but better being extra
cautious, just in case.

| ../record/set.c: In function ‘IntervalListCreateSet’:
| ../record/set.c:364:5: warning: use of NULL ‘stackIntervals’ where non-null expected [CWE-476] [-Wanalyzer-null-argument]
|   364 |     memcpy(&prls[1], stackIntervals, nIntervals * sizeof(RecordSetInterval));
|       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 16:34:55 +02:00
..
meson.build Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
record.c record: protect from NULL pointers 2025-06-12 16:34:55 +02:00
set.c record: protect from NULL pointers 2025-06-12 16:34:55 +02:00
set.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00