Commit 61192363 authored by Ghislain MARY's avatar Ghislain MARY Committed by Ronan

Fix possible buffer overflow detected by sanitizer.

parent c232407b
......@@ -486,7 +486,7 @@ static void sdp_parse_payload_types(belle_sdp_media_description_t *media_desc, S
static void sdp_parse_media_crypto_parameters(belle_sdp_media_description_t *media_desc, SalStreamDescription *stream) {
belle_sip_list_t *attribute_it;
belle_sdp_attribute_t *attribute;
char tmp[257]={0}, tmp2[128]={0}, parameters[257]={0};
char tmp[257]={0}, tmp2[129]={0}, parameters[257]={0};
int valid_count = 0;
int nb;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment