diff options
author | John Thacker <johnthacker@gmail.com> | 2023-12-05 08:51:55 -0500 |
---|---|---|
committer | John Thacker <johnthacker@gmail.com> | 2023-12-05 08:53:20 -0500 |
commit | 0e01240e78c7b9abe960b99d484372ed913d0397 (patch) | |
tree | 94b807e0e07823dafda13d58d46ec6e4b53a4e9a /epan/dissectors/packet-sdp.c | |
parent | 1da30947b032174f27ae9b2e66a9b01c6ea57661 (diff) |
SDP: Don't look past the fmtp parameter tokenlen for equals
Fixes an issue with SDP media format parameters that aren't in the
"parameter=value" format being followed by parameters that are.
Fix #19518
Diffstat (limited to 'epan/dissectors/packet-sdp.c')
-rw-r--r-- | epan/dissectors/packet-sdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sdp.c b/epan/dissectors/packet-sdp.c index 641826352c..cce6146cd4 100644 --- a/epan/dissectors/packet-sdp.c +++ b/epan/dissectors/packet-sdp.c @@ -1235,7 +1235,7 @@ decode_sdp_fmtp(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, gint offset parameter name to the value, as well as dissect some of them here, depending on the media type. */ - next_offset = tvb_find_guint8(tvb, offset, -1, '='); + next_offset = tvb_find_guint8(tvb, offset, tokenlen, '='); if (next_offset == -1) { /* Some media types, like telephone-event and RED, don't have the |