mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 02:48:59 -04:00
Fix null ptr handling issue in ioctl processing
This commit is contained in:
parent
0f1a8e9b69
commit
881147daa2
1 changed files with 1 additions and 1 deletions
|
|
@ -3252,7 +3252,7 @@ fuse_lib_ioctl(fuse_req_t *req_,
|
|||
}
|
||||
|
||||
assert(!arg->in_size || !out_size || arg->in_size == out_size);
|
||||
if(out_buf)
|
||||
if(out_buf && in_buf)
|
||||
memcpy(out_buf,in_buf,arg->in_size);
|
||||
|
||||
err = f.ops.ioctl(&req_->ctx,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue