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 2dfa603: Initialize fd_head->frame in all cases where

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 10 Dec 2016 18:38:19 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2dfa603333416aec69719fb074388886f0fc96b2
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

2dfa603 by Guy Harris (guy@xxxxxxxxxxxx):

    Initialize fd_head->frame in all cases where we allocate fd_head.
    
    Also, sort the initializations of structure members by the order in the
    structure, to make it easier to check that we've initialized them all.
    
    Bug: 13231
    Change-Id: Id2819940d916a5fd5a3f1bf2fc20bd3ee34a75f4
    Reviewed-on: https://code.wireshark.org/review/19195
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  00223bc   Qt: Avoid infinite recursion in ExtcapArgument::loadValues
    adds  2dfa603   Initialize fd_head->frame in all cases where we allocate fd_head.


Summary of changes:
 epan/reassemble.c |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)