OSDN Git Service

virtiofsd: do_read missing NULL check
authorDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 3 Feb 2020 13:01:19 +0000 (13:01 +0000)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Mon, 10 Feb 2020 17:24:43 +0000 (17:24 +0000)
commit99ce9a7e60fd12b213b985343ff8fcc172de59fd
tree2a257e05b5e394c1472787f8098edc79ada44773
parent686391112fd42c615bcc4233472887a66a9b5a4a
virtiofsd: do_read missing NULL check

Missing a NULL check if the argument fetch fails.

Fixes: Coverity CID 1413119
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
tools/virtiofsd/fuse_lowlevel.c