|
@@ -332,10 +332,7 @@ int extract_candidate(str *body, sdp_stream_cell_t *stream)
|
|
|
|
|
|
start = space + 1;
|
|
|
len = len - (space - start + 1);
|
|
|
- if(start + len > body->s + body->len) {
|
|
|
- LM_ERR("no component in `a=candidate'\n");
|
|
|
- return -1;
|
|
|
- }
|
|
|
+
|
|
|
space = memchr(start, 32, len);
|
|
|
if(space == NULL) {
|
|
|
LM_ERR("no component in `a=candidate'\n");
|