Commit 0687dd87 authored by Simon Morlat's avatar Simon Morlat

Fix invalid read while parsing ICE remote candidates

parent 50334609
......@@ -611,7 +611,7 @@ static void sdp_parse_media_ice_parameters(belle_sdp_media_description_t *media_
}
ptr += offset;
if (ptr < endptr) {
if (ptr[offset] == ' ') ptr += 1;
if (*ptr == ' ') ptr += 1;
} else break;
}
} else if ((keywordcmp("ice-ufrag", att_name) == 0) && (value != NULL)) {
......
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