diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/voicecall.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/voicecall.c b/src/voicecall.c index 550b79b4..b0882391 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -1513,6 +1513,9 @@ static int voicecall_dial(struct ofono_voicecall *vc, const char *number, if (g_slist_length(vc->call_list) >= MAX_VOICE_CALLS) return -EPERM; + if (valid_ussd_string(number, vc->call_list != NULL)) + return -EINVAL; + if (!valid_long_phone_number_format(number)) return -EINVAL; |