We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5f18366 + c07f05a commit 907f2acCopy full SHA for 907f2ac
libsofia-sip-ua/sdp/sdp_parse.c
@@ -396,6 +396,10 @@ static void parse_message(sdp_parser_t *p)
396
record = next(&message, CRLF, strip)) {
397
field = record[0];
398
399
+ if (strlen(record) < 2) {
400
+ return;
401
+ }
402
+
403
rest = record + 2; rest += strspn(rest, strip);
404
405
if (record[1] != '=') {
@@ -1763,6 +1767,10 @@ static void parse_descs(sdp_parser_t *p,
1763
1767
1764
1768
char field = record[0];
1765
1769
1770
1771
1772
1773
1766
1774
1775
1776
if (record[1] == '=') switch (field) {
0 commit comments