mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 06:16:40 +02:00
core, plugins: check that string parameters are not NULL in search functions (issue #1872)
This commit is contained in:
@@ -148,6 +148,9 @@ exec_command_search_running_id (const char *id)
|
||||
{
|
||||
struct t_exec_cmd *ptr_exec_cmd;
|
||||
|
||||
if (!id)
|
||||
return NULL;
|
||||
|
||||
ptr_exec_cmd = exec_search_by_id (id);
|
||||
if (!ptr_exec_cmd)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user