Wireshark-commits: [Wireshark-commits] master d0f77b9: Don't call dissectors that require a pseudo-

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 16 Jan 2016 20:48:00 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d0f77b97ac40aeb9ed3c4563781cc6cadb1de95b
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

d0f77b9 by Guy Harris (guy@xxxxxxxxxxxx):

    Don't call dissectors that require a pseudo-header if we can't generate one.
    
    It's not safe to pass a null data pointer to a link-layer header type
    dissector that expects the data pointer to point to a pseudo-header.
    
    Also, remove one extra layer of protocol tree.
    
    Change-Id: I030d38fd7d2f99d471020227597e4d7d81506e3e
    Reviewed-on: https://code.wireshark.org/review/13336
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  409914a   doc: fix spelling-error-in-manpage found by lintian
    adds  d0f77b9   Don't call dissectors that require a pseudo-header if we can't generate one.


Summary of changes:
 epan/dissectors/packet-pcap_pktdata.c |  168 ++++++++++++++++++++-------------
 1 file changed, 100 insertions(+), 68 deletions(-)