Wireshark-commits: [Wireshark-commits] master 523e8c3: Pass the next header value to ipv6_dissect_n

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 24 Jul 2016 08:01:08 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=523e8c3cc549beacf99f5dbfb7e52c5e34ee85e2
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

523e8c3 by Guy Harris (guy@xxxxxxxxxxxx):

    Pass the next header value to ipv6_dissect_next() as an argument.
    
    That way, we don't rely on the ws_ip pointer being non-null.
    
    Based on changes from Ib73410fd8575ad6c836311bbda87a0580e5640ac.
    
    Bug: 12645
    Change-Id: I8c74ba57637b6a125593c4711d7c21b9693c2c85
    Reviewed-on: https://code.wireshark.org/review/16616
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  d109a8d   More null pointer checks.
    adds  523e8c3   Pass the next header value to ipv6_dissect_next() as an argument.


Summary of changes:
 epan/dissectors/packet-ipsec.c |    2 +-
 epan/dissectors/packet-ipv6.c  |   18 +++++++++---------
 epan/dissectors/packet-ipv6.h  |    2 +-
 epan/dissectors/packet-mip6.c  |    4 ++--
 epan/dissectors/packet-shim6.c |    2 +-
 5 files changed, 14 insertions(+), 14 deletions(-)