hello_ll: Fix null pointer dereference (#363)
authorForty-Bot <Forty-Bot@users.noreply.github.com>
Mon, 25 Feb 2019 21:06:42 +0000 (16:06 -0500)
committerNikolaus Rath <Nikolaus@rath.org>
Mon, 25 Feb 2019 21:06:42 +0000 (21:06 +0000)
commit1cce958bb64c65228d74abcf4a444863d291734b
tree2c81bf8e0e1f07d6babf9ecaf1fab5080821317d
parent276728f70fc8923c90f1d2efaae8c7c8ce205b9b
hello_ll: Fix null pointer dereference (#363)

If hello_ll is invoked without a mountpoint, it will try to call
fuse_session_mount anyway with the NULL mountpoint (which then causes a
segfault). Print out a short help message instead (taken from
passthrough_ll.c).
example/hello_ll.c