Wireshark-commits: [Wireshark-commits] master-2.6 16a3280: RTPS: don't use incompletely filled in G

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 21 Jun 2020 22:53:57 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=16a3280f0b6f8a0c9124e189085afb49edfd109e
Submitter: "Guy Harris <gharris@xxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

16a3280 by Guy Harris (gharris@xxxxxxxxx):

    RTPS: don't use incompletely filled in GUIDs.
    
    Add to the GUID type a bitmask that indicates which fields have been
    filled in; start it out as 0, and then set bits in it as fields get
    filled in.
    
    Do not add a type mapping object to the hash table unless the GUID is
    completely filled in, and don't look for a type mapping object in the
    hash table with a GUID that hasn't been completely filled in as a key.
    
    Bug: 16642
    Change-Id: I31db92238adcb2ec2d70b2650e41b14d99001908
    Reviewed-on: https://code.wireshark.org/review/37537
    Petri-Dish: Guy Harris <gharris@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Guy Harris <gharris@xxxxxxxxx>
    (backported from commit f97e20a011144a56bf72dd92c49167d17713a909)
    Reviewed-on: https://code.wireshark.org/review/37541
    

Actions performed:

    from  41efa41   [Automatic update for 2020-06-21]
     add  16a3280   RTPS: don't use incompletely filled in GUIDs.


Summary of changes:
 epan/dissectors/packet-rtps.c | 37 +++++++++++++++++++++++++++++++++++--
 1 file changed, 35 insertions(+), 2 deletions(-)