Wireshark-commits: [Wireshark-commits] master 2282447: wsutil: Allow NULL as profile name

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 07 Feb 2018 14:03:56 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=22824478d1bdab6b8b62c8d9a43952279abf5064
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

2282447 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    wsutil: Allow NULL as profile name
    
    Using NULL as profile name indicates the Default profile and
    profile_exists() must not return FALSE for the Default profile.
    
    This is a regression from ge0d04a75.
    
    Change-Id: I2463a7d3e12dda794f3391d999442a303d80621c
    Reviewed-on: https://code.wireshark.org/review/25659
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  28960d7   netmon: Initialize struct netmonrec_comment on alloc
    adds  2282447   wsutil: Allow NULL as profile name


Summary of changes:
 wsutil/filesystem.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)