Wireshark-commits: [Wireshark-commits] master bee73f5: sshdump, ciscodump: fix local addresses disc

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 12 Apr 2016 08:21:34 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=bee73f5d049c5436ffff87a7e0c5eab600e8df28
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

bee73f5 by Peter Wu (peter@xxxxxxxxxxxxx):

    sshdump,ciscodump: fix local addresses discovery
    
    Fixes a NULL-deref when no interface addresses are discovered.
    
    Remove NULL interface from list (an empty GSList is represented by NULL
    while g_slist_alloc returns a list with a single NULL data).
    
    Change-Id: I2eded40bb697e051445a526d1f34d8a50ef9ccd4
    Reviewed-on: https://code.wireshark.org/review/14888
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Reviewed-by: Dario Lombardo <lomato@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  f9b6882   Don't use _snwprintf (use StringCchPrintf instead).
    adds  bee73f5   sshdump,ciscodump: fix local addresses discovery


Summary of changes:
 extcap/ciscodump.c |    4 ++--
 extcap/sshdump.c   |    4 ++--
 wsutil/interface.c |    2 --
 3 files changed, 4 insertions(+), 6 deletions(-)