Bug 1372467 - Stop at end of line after unknown attribute. r=bwc

MozReview-Commit-ID: 5tg6gKbQfHy
This commit is contained in:
Nils Ohlmeier [:drno] 2017-06-12 22:45:35 -07:00
Родитель 838439065a
Коммит b047050729
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -1353,7 +1353,12 @@ sdp_result_e sdp_parse_attr_fmtp (sdp_t *sdp_p, sdp_attr_t *attr_p,
}
}
}
if (*fmtp_ptr == '\n') {
// reached end of line, stop parsing
done = TRUE;
} else {
fmtp_ptr++;
}
} else {
done = TRUE;
}