Skip to content
Snippets Groups Projects
Commit e3363b95 authored by jette's avatar jette
Browse files

job_submit/lua - initialize user msg to NULL

Without this, an xfree could be called for an arbitrary memory location
parent 2e0fb84c
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ const uint32_t min_plug_version = 100;
static const char lua_script_path[] = DEFAULT_SCRIPT_DIR "/job_submit.lua";
static lua_State *L = NULL;
static char *user_msg;
static char *user_msg = NULL;
/*
* Mutex for protecting multi-threaded access to this plugin.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment