fuse_lib_ioctl(): don't call memcpy with NULL argument
authorNikolaus Rath <Nikolaus@rath.org>
Mon, 25 Sep 2017 09:34:07 +0000 (10:34 +0100)
committerNikolaus Rath <Nikolaus@rath.org>
Mon, 25 Sep 2017 09:34:07 +0000 (10:34 +0100)
commit77092d95811257229727364b32e903d8b0db3792
tree6bc788cc3b76da02674863a7362edde3640f0705
parentb1a743c8eb8a5d665beb5675b5ba4ae66ffe8243
fuse_lib_ioctl(): don't call memcpy with NULL argument

This was detected by using clang's undefined behavior sanitizer, but
didn't seem to cause problems in practice.
lib/fuse.c