Wireshark-commits: [Wireshark-commits] master fea50cc: Handle dissectors that don't have names.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 12 Jul 2016 18:26:45 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=fea50cc4d6cec282271f44de558956ed7b3d2a39
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

fea50cc by Guy Harris (guy@xxxxxxxxxxxx):

    Handle dissectors that don't have names.
    
    Dissector handles created with create_dissector_handle() don't have a
    name; report them as "(anonymous)" (there's no guarantee that the printf
    family of routines don't crash when a null pointer is provided to %s -
    the printf routines in at least some versions of Solaris *do* crash in
    that case).
    
    Change-Id: I561ff855a46eeb442299011d567f20751c5c6869
    Reviewed-on: https://code.wireshark.org/review/16399
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  719c018   USB CCID added Interrupt IN and PC2RDR_params
    adds  fea50cc   Handle dissectors that don't have names.


Summary of changes:
 epan/packet.c |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)