Browse Source

fix skip_over off by one bug

git.mgm/mediaproxy-ng/2.2
Richard Fuchs 13 years ago
parent
commit
4914d6babb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      daemon/sdp.c

+ 1
- 1
daemon/sdp.c View File

@ -437,7 +437,7 @@ static int skip_over(struct sdp_chopper *chop, str *where) {
offset = (where->s - chop->input->s) + where->len;
assert(offset >= 0);
assert(offset < chop->input->len);
assert(offset <= chop->input->len);
len = offset - chop->position;
if (len < 0) {


Loading…
Cancel
Save