mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-09 09:14:57 +00:00
In a few places it may happen that the array we want to sort is still NULL (e.g. because there were no leases found, no paths for secdriver to lock or no cache banks). However, passing NULL to qsort() is undefined and even though glibc plays nicely we shouldn't rely on undefined behaviour. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Tim Wiederhake <twiederh@redhat.com> |
||
---|---|---|
.. | ||
libvirt_guest_nss.syms | ||
libvirt_nss_bsd.syms | ||
libvirt_nss_leases.c | ||
libvirt_nss_leases.h | ||
libvirt_nss_macs.c | ||
libvirt_nss_macs.h | ||
libvirt_nss.c | ||
libvirt_nss.h | ||
libvirt_nss.syms | ||
meson.build |