Commit e12813d0 authored by Tomas Mraz's avatar Tomas Mraz

Prevent use after free of global_engine_lock

If buggy application calls engine functions after cleanup of engines
already happened the global_engine_lock will be used although
already freed.

See for example: default avatarBernd Edlinger <>
(Merged from
parent 4d55122e
......@@ -171,6 +171,7 @@ void engine_cleanup_int(void)
cleanup_stack = NULL;
global_engine_lock = NULL;
/* Now the "ex_data" support */
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment