mirror of https://github.com/sipwise/asterisk.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
308 B
12 lines
308 B
--- apps/app_dial.c (revisión: 187134)
|
|
+++ apps/app_dial.c (revisión: 187135)
|
|
@@ -1872,7 +1872,7 @@
|
|
}
|
|
}
|
|
|
|
- if ((dialdata = strchr(dialdata, '|'))) {
|
|
+ if (dialdata && (dialdata = strchr(dialdata, '|'))) {
|
|
*dialdata++ = '\0';
|
|
} else {
|
|
ast_log(LOG_ERROR, "%s requires more arguments\n",rapp);
|