]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Fix] Use rspamd_lua_task_push in all task creation paths
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 21 Dec 2025 22:23:36 +0000 (22:23 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sun, 21 Dec 2025 22:23:36 +0000 (22:23 +0000)
commit282ce533807d76f665ca649679ee0933dddf1fde
tree50bbd4bce9bb765e3ed50712b671d91fc1188d59
parent584c2fdfe6720543ae8be9b6de5b6960ba0e6bdb
[Fix] Use rspamd_lua_task_push in all task creation paths

Fix load_from_file, load_from_string, and create to use
rspamd_lua_task_push instead of directly creating userdata
with raw task pointer.
src/lua/lua_task.c