libfuse/lib
Zhiqiang Liu f604536b08 buffer.c: correct return value when buf is NULL
In commit d614415a ("buffer.c: check whether buf is
NULL in fuse_bufvec_advance func"), if fuse_bufvec_current
func returns NULL, it returns 1 directly. Actually,
we should return 0 when buf is NULL.

Fixes: d614415a ("buffer.c: check whether buf is NULL in fuse_bufvec_advance func")
Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
Signed-off-by: Haotian Li <lihaotian9@huawei.com>
2020-11-11 09:32:56 +00:00
..
modules Fix: crash on failure to set locale (#529) 2020-07-10 19:59:57 +01:00
buffer.c buffer.c: correct return value when buf is NULL 2020-11-11 09:32:56 +00:00
cuse_lowlevel.c fix memleak in cuse_lowlevel_setup (#472) 2019-11-20 11:43:52 +00:00
fuse_i.h log: move fuse_log() to the public header file 2019-09-10 14:25:15 +01:00
fuse_log.c log: move fuse_log() to the public header file 2019-09-10 14:25:15 +01:00
fuse_loop_mt.c remove fuse_mutex_init 2020-10-29 10:59:23 +00:00
fuse_loop.c fuse_loop(): don't return non-zero if there was no error 2017-08-23 23:37:35 +02:00
fuse_lowlevel.c remove fuse_mutex_init 2020-10-29 10:59:23 +00:00
fuse_misc.h remove fuse_mutex_init 2020-10-29 10:59:23 +00:00
fuse_opt.c Introduce callback for logging 2019-09-04 15:59:18 +01:00
fuse_signals.c Introduce callback for logging 2019-09-04 15:59:18 +01:00
fuse_versionscript Define fuse_session_loop_mt as a macro on uclibc and MacOS (#532) 2020-08-09 12:37:26 +01:00
fuse.c remove fuse_mutex_init 2020-10-29 10:59:23 +00:00
helper.c Introduce callback for logging 2019-09-04 15:59:18 +01:00
meson.build Make ioctl prototype conditional on FUSE_USE_VERSION. (#482) 2019-12-31 09:58:57 +00:00
mount_bsd.c Use the -o intr mount option on FreeBSD (#462) 2019-11-03 09:44:12 +00:00
mount_util.c Add support for buildin under DragonFly BSD 2019-01-14 20:28:41 +00:00
mount_util.h Allow passing /dev/fuse file descriptor from parent process 2018-10-09 20:36:22 +01:00
mount.c Introduce callback for logging 2019-09-04 15:59:18 +01:00