Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
1f8eb331
Commit
1f8eb331
authored
Apr 05, 2016
by
Gautier Pelloux-Prayer
Browse files
proxy.c: fix potential crash in linphone_proxy_config_is_phone_number
parent
a0b534b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
coreapi/proxy.c
View file @
1f8eb331
...
...
@@ -858,6 +858,7 @@ static bool_t lookup_dial_plan_by_ccc(const char *ccc, dial_plan_t *plan){
bool_t
linphone_proxy_config_is_phone_number
(
LinphoneProxyConfig
*
proxy
,
const
char
*
username
){
const
char
*
p
;
if
(
!
username
)
return
FALSE
;
for
(
p
=
username
;
*
p
!=
'\0'
;
++
p
){
if
(
isdigit
(
*
p
)
||
*
p
==
' '
||
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment