avserver.c:3909: error: Null Dereference
  pointer `init_func` last assigned on line 3901 could be null and is dereferenced at line 3909, column 5.

avserver.c:3890:1: start of procedure load_module()
3888. 
3889. #if HAVE_DLOPEN
3890. static void load_module(const char *filename)
      ^
3891. {
3892.     void *dll;

avserver.c:3894:5: Skipping dlopen(): method has no implementation
3892.     void *dll;
3893.     void (*init_func)(void);
3894.     dll = dlopen(filename, RTLD_NOW);
          ^
3895.     if (!dll) {
3896.         fprintf(stderr, "Could not load module '%s' - %s\n",

avserver.c:3895:10: Taking false branch
3893.     void (*init_func)(void);
3894.     dll = dlopen(filename, RTLD_NOW);
3895.     if (!dll) {
               ^
3896.         fprintf(stderr, "Could not load module '%s' - %s\n",
3897.                 filename, dlerror());

avserver.c:3901:5: Skipping dlsym(): method has no implementation
3899.     }
3900. 
3901.     init_func = dlsym(dll, "avserver_module_init");
          ^
3902.     if (!init_func) {
3903.         fprintf(stderr,

avserver.c:3902:10: Taking true branch
3900. 
3901.     init_func = dlsym(dll, "avserver_module_init");
3902.     if (!init_func) {
               ^
3903.         fprintf(stderr,
3904.                 "%s: init function 'avserver_module_init()' not found\n",

avserver.c:3903:9: 
3901.     init_func = dlsym(dll, "avserver_module_init");
3902.     if (!init_func) {
3903.         fprintf(stderr,
              ^
3904.                 "%s: init function 'avserver_module_init()' not found\n",
3905.                 filename);

avserver.c:3906:9: Skipping dlclose(): method has no implementation
3904.                 "%s: init function 'avserver_module_init()' not found\n",
3905.                 filename);
3906.         dlclose(dll);
              ^
3907.     }
3908. 

avserver.c:3909:5: 
3907.     }
3908. 
3909.     init_func();
          ^
3910. }
3911. #endif
