ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] master 4f8a6ec: TCP: fix wrongly set base_seq when ISN is 0

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 25 Nov 2014 02:47:24 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4f8a6ec8669fe0b9b2ac642ab99cc853498e4721
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

4f8a6ec by Matthieu Coudron (mattator@xxxxxxxxx):

    TCP: fix wrongly set base_seq when ISN is 0 and tcp_relative_seq is
    enabled
    
    tcp_analysis::base_seq could be set several times when the
    TCP ISN was set to 0, thus inducing some undesired wraps such as 0-1
    
    Bug: 10713
    Change-Id: I69a0dfe677e93bf51015bf7a39ebf888631b12a4
    Reviewed-on: https://code.wireshark.org/review/5387
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    

Actions performed:

    from  d5713e2   hostlist_table (GTK): Fix Dereference of null pointer found by Clang analyzer
    adds  4f8a6ec   TCP: fix wrongly set base_seq when ISN is 0 and tcp_relative_seq is enabled


Summary of changes:
 epan/dissectors/packet-tcp.c |    8 +++++---
 epan/dissectors/packet-tcp.h |    5 ++---
 2 files changed, 7 insertions(+), 6 deletions(-)