It is better to check the asprintf return value for -1 instead of the
authorreyk <reyk@openbsd.org>
Wed, 3 Jun 2015 19:51:16 +0000 (19:51 +0000)
committerreyk <reyk@openbsd.org>
Wed, 3 Jun 2015 19:51:16 +0000 (19:51 +0000)
commitc39b94d2525917335b1a16a333b3891b5fb0b7d9
tree416a9d254ba18c3d4fc4d575a0d8d1428c23ccdf
parent8361a98c22a6d9aaa828fc6de8b46b8cd230eb53
It is better to check the asprintf return value for -1 instead of the
input buffer for NULL.
Found by adding __attribute((__warn_unused_result__)) to asprintf.

OK deraadt@
lib/libfuse/fuse_subr.c