Skip to content

Commit 1fc356a

Browse files
committed
Fix uninitialized variable
1 parent 839aa84 commit 1fc356a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sdp_ops.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,8 @@ int pv_parse_sdp_line_name(pv_spec_p sp, const str *_in)
459459
matches[midx++]->prefix = tok;
460460
break;
461461
}
462+
} else {
463+
p = in.s + i;
462464
}
463465

464466
// slash here

0 commit comments

Comments
 (0)