aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorGoswin von Brederlow <goswin-v-b@web.de>2023-01-13 10:36:52 +0100
committerGitHub <noreply@github.com>2023-01-13 09:36:52 +0000
commitaad5c3a44d4386b2128b956446b2c6295a4c28ad (patch)
tree86fd18b3834b1f3b87f8f50085dfc006a26d34bd /example
parent50c74e645928affa1af6e9a5a6ea6a3b9d3c52dc (diff)
downloadlibfuse-aad5c3a44d4386b2128b956446b2c6295a4c28ad.tar.gz
Fix loading of FUSE modules
dlsym returns the address of the module factory symbol, not the actual function (#722) pointer. Change the type of `factory` to `fuse_module_factory_t*` to reflect this and then dereference it when registering the module. This is a followup to d92bf83, which introduced a NULL pointer dereference when dlsym returns NULL, and 8ec7fd9, which reverted it back to not dereferencing the symbol at all. Fixes: #721 Co-authored-by: Goswin von Brederlow <brederlo@q-leap.de>
Diffstat (limited to 'example')
0 files changed, 0 insertions, 0 deletions