Wireshark-commits: [Wireshark-commits] master 386ebf5: Heuristics length check must use captured_le
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 17 Mar 2014 16:46:00 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=386ebf50fef43a75d70d4c0085948c13cdd4e930
Submitter: Bill Meier (wmeier@xxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

386ebf5 by Bill Meier (wmeier@xxxxxxxxxxx):

    Heuristics length check must use captured_length; Do other misc changes:
    
    - Use tvb_reported_length() iso tvb_length() in various places;
    - Add some 'if(tree) {...}';
    - Remove an unneeded length-check;
    - Use a consistent formatting style for hf[]array entries;
    - Do some minor whitespace changes;
    - Add editor modelines.
    
    Change-Id: Iac0a74142c5a5944e69fc911e54b0fbdfd1f5bab
    Reviewed-on: https://code.wireshark.org/review/717
    Reviewed-by: Bill Meier <wmeier@xxxxxxxxxxx>
    Tested-by: Bill Meier <wmeier@xxxxxxxxxxx>
    

Actions performed:

    from  d426802   Try to fix warning: cast discards__attribute__((const)) qualifier from pointer target type [-Wcast-qual]
    adds  386ebf5   Heuristics length check must use captured_length; Do other misc changes:


Summary of changes:
 epan/dissectors/packet-udt.c |  349 ++++++++++++++++++++++--------------------
 1 file changed, 185 insertions(+), 164 deletions(-)