X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fcore%2Fplugin.c;h=a73faa04f726a3353ea788548493078279dcfb30;hb=924c3a5bf7700aad1d118212aecde20a3df0dbd0;hp=873e64a19436903c379bff983565c825008f2a43;hpb=851c33e513e67986fa3efa68400564b457d69d17;p=sysdb.git diff --git a/src/core/plugin.c b/src/core/plugin.c index 873e64a..a73faa0 100644 --- a/src/core/plugin.c +++ b/src/core/plugin.c @@ -455,6 +455,8 @@ module_load(const char *name, const sdb_plugin_ctx_t *plugin_ctx) int status; + assert(name); + base_name[0] = '\0'; name_ptr = name;