Wireshark-commits: [Wireshark-commits] master 5f80801: RTSP/SDP: Fix parsing error for H264:sprop-p
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 28 Apr 2020 04:02:07 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5f80801adda1b59f714373cfc636893d7aea41f1
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

5f80801 by Sergey Bogdanov (Sergey.Bogdanov@xxxxxxxxxxxx):

    RTSP/SDP: Fix parsing error for H264:sprop-parameter-sets
    
    Rework the method verifying  if there are more data in packed attribute
    New version checks if there are any non-zero bits after the current bit in the
    packet. If it sees some non-zero bits - that means there is some data in the
    packet. If there are zero bits only - that means there is no more data in the
    packet.
    Changes affect RTSP/SDP dissector and they are specific for
    SDP media attribute (a) fmtp/sprop-parameter-sets for H264 protocol
    
    Bug: 16322
    Change-Id: Ic4768c56f16b79cbf2ccac8a9736f8fa15043224
    Reviewed-on: https://code.wireshark.org/review/36899
    Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  56e9110   ICMPv6: Add PREF64 (RFC8781) Option
     add  5f80801   RTSP/SDP: Fix parsing error for H264:sprop-parameter-sets


Summary of changes:
 epan/dissectors/packet-h264.c | 50 +++++++++++++++++++++++++------------------
 1 file changed, 29 insertions(+), 21 deletions(-)