mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-19 01:45:32 +00:00
CID: 1211941 mod_rayo - unlikely dereference of NULL pointer
This commit is contained in:
parent
b1337495fb
commit
41b993755c
@ -1074,7 +1074,7 @@ static pcre *get_compiled_regex(struct srgs_grammar *grammar)
|
||||
const char *regex;
|
||||
|
||||
if (!grammar) {
|
||||
switch_log_printf(SWITCH_CHANNEL_UUID_LOG(grammar->uuid), SWITCH_LOG_CRIT, "grammar is NULL!\n");
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "grammar is NULL!\n");
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user