-
Philip Withnall authored
In the case that (n_fds == 0 && fds == NULL), memcpy() would be called against a NULL src pointer. Even though the number of bytes to copy is 0, avoid the possibility of a crash by only calling if fds is non-NULL. Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=113075
aa28ced4