Text   |  XML   |  ReML   |   Visible Warnings:

Useless Assignment  at module-dir.c:37

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

module_get_symbol

(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib/module-dir.c)expand/collapse
Show more  
 22  void *module_get_symbol(struct module *module, const char *symbol)
 23  {
 24          const char *error;
 25          void *ret;
 26   
 27          /* clear out old errors */
 28          (void)dlerror();
 29   
 30          /* get our init func */
 31          ret = dlsym(module->handle, symbol);
 32          if (ret == NULL) {
 33                  error = dlerror();
 34                  if (error != NULL) {
 35                          i_error("module %s: dlsym(%s) failed: %s",
 36                                  module->path, symbol, error);
 37                          ret = NULL;
 38                  }
 39          }
 40   
 41          return ret;
 42  }
Show more  




Change Warning 7115.24437 : Useless Assignment

Priority:
State:
Finding:
Owner:
Note: