$OpenBSD$ index 0be02aa..9760d4e 100644 --- media/webrtc/signaling/src/sipcc/core/sdp/sdp_main.c.orig Fri Feb 20 15:40:37 2015 +++ media/webrtc/signaling/src/sipcc/core/sdp/sdp_main.c Fri Feb 20 15:40:37 2015 @@ -1002,7 +1002,12 @@ sdp_result_e sdp_parse (sdp_t *sdp_p, char **bufp, u16 len) */ ptr = next_ptr; line_end = sdp_findchar(ptr, "\n"); - if (line_end >= (*bufp + len)) { + if ((line_end >= (*bufp + len)) || + (*line_end == '\0')) { + /* As this does not update the result value the SDP up to this point + * is still accept as valid. So encountering this is not treated as + * an error. + */ sdp_parse_error(sdp_p->peerconnection, "%s End of line beyond end of buffer.", sdp_p->debug_str);