mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 05:46:38 +02:00
trigger: fix potential uninitialized pointer in signal hook callback
This commit is contained in:
@@ -385,6 +385,7 @@ trigger_callback_signal_cb (void *data, const char *signal,
|
||||
}
|
||||
|
||||
/* add data in hashtable used for conditions/replace/command */
|
||||
ptr_signal_data = NULL;
|
||||
weechat_hashtable_set (extra_vars, "tg_signal", signal);
|
||||
if (strcmp (type_data, WEECHAT_HOOK_SIGNAL_STRING) == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user