diff options
| author | Fergus Dall <sidereal@google.com> | 2022-09-23 07:58:13 +1000 |
|---|---|---|
| committer | Simon Ser <contact@emersion.fr> | 2023-01-03 11:05:35 +0000 |
| commit | 41aed7a38a928863d5759ac2a93251d35aa1f657 (patch) | |
| tree | 89bf65d07a8bd179508a72d7de9ffa0c6b814b08 /tests/cpp-compile-test.cpp | |
| parent | protocol: add note about wl_buffer/wl_callback version (diff) | |
| download | wayland-41aed7a38a928863d5759ac2a93251d35aa1f657.tar wayland-41aed7a38a928863d5759ac2a93251d35aa1f657.tar.gz wayland-41aed7a38a928863d5759ac2a93251d35aa1f657.tar.bz2 wayland-41aed7a38a928863d5759ac2a93251d35aa1f657.tar.lz wayland-41aed7a38a928863d5759ac2a93251d35aa1f657.tar.xz wayland-41aed7a38a928863d5759ac2a93251d35aa1f657.tar.zst wayland-41aed7a38a928863d5759ac2a93251d35aa1f657.zip | |
scanner: Fix undefined behavior around qsort
According to clang, qsort cannot be passed a null pointer, even if the size is
specified to be zero. The scanner can hit this while trying to sort forward
declarations if it happens to be building a protocol file that doesn't require
any, either in the header or the source.
Signed-off-by: Fergus Dall <sidereal@google.com>
Diffstat (limited to 'tests/cpp-compile-test.cpp')
0 files changed, 0 insertions, 0 deletions
