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
f65ec2e2
Commit
f65ec2e2
authored
Jan 23, 2015
by
Guillaume BIENKOWSKI
Browse files
Fix lengthy SDP buffer allocation
parent
7acf4df8
Changes
1
Hide whitespace changes
Inline
Side-by-side
coreapi/bellesip_sal/sal_op_call.c
View file @
f65ec2e2
...
...
@@ -97,6 +97,7 @@ static int set_sdp(belle_sip_message_t *msg,belle_sdp_session_description_t* ses
error
=
belle_sip_object_marshal
(
BELLE_SIP_OBJECT
(
session_desc
),
buff
,
bufLen
,
&
length
);
if
(
error
!=
BELLE_SIP_OK
){
bufLen
*=
2
;
length
=
0
;
buff
=
belle_sip_realloc
(
buff
,
bufLen
);
}
}
...
...
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