Merge pull request #435 from dragos-oancea/mod_voicemail_ivr-nullptr-arg

[mod_voicemail_ivr] scan-build: Null pointer passed as an argument to a 'nonnull' parameter - SWITCH_STANDARD_APP(voicemail_ivr_function)
This commit is contained in:
Andrey Volk 2020-02-26 23:57:39 +04:00 committed by GitHub
commit 0970e392c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ SWITCH_STANDARD_APP(voicemail_ivr_function)
if (argv[2])
domain = argv[2];
if (!strcasecmp(argv[0], "check")) {
if (argv[0] && !strcasecmp(argv[0], "check")) {
if (argv[3])
id = argv[3];