Wireshark-commits: [Wireshark-commits] master 09777ec: epan: Always clear all decode-as when loadin
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 29 Jun 2020 18:42:40 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=09777ecc046b0e0aa3d6ab110dab6be5461ac0d7
Submitter: "Stig Bjørlykke <stig@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

09777ec by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    epan: Always clear all decode-as when loading entries
    
    Always call decode_clear_all() when loading decode_as entries because
    this function will create decode_build_reset_list based on entries that
    has been changed from its original state.
    
    Ping-Bug: 16635
    Change-Id: Ib589d4bc863b680146063ad682398f6180125a38
    Reviewed-on: https://code.wireshark.org/review/37582
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    

Actions performed:

    from  3dc5f5c   epan: Keep decode_as_list when changing profile
     add  09777ec   epan: Always clear all decode-as when loading entries


Summary of changes:
 epan/decode_as.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)