Wireshark-commits: [Wireshark-commits] master-1.12 dcac945: Get rid of g_hash_table_lookup asserts

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 27 Sep 2014 15:57:18 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=dcac94576b6022082295cd8a3351fb097349d586
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

dcac945 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    Get rid of g_hash_table_lookup asserts when loading an external host file
    
    Only parse the host file syntax without trying to store the names in the hash tables (it will be done later in host_name_lookup_init())
    
    Change-Id: I2b8c7b29220e6413c1b5c0a0fa238ecb5388c962
    Reviewed-on: https://code.wireshark.org/review/4309
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    (cherry picked from commit 6e83b3802001479d72ff39cd54601871e8987c57)
    Reviewed-on: https://code.wireshark.org/review/4332
    

Actions performed:

    from  ce0e169   Update a comment as per the previous commit.
    adds  dcac945   Get rid of g_hash_table_lookup asserts when loading an external host file


Summary of changes:
 epan/addr_resolv.c |   45 ++++++++++++++++++++++++---------------------
 1 file changed, 24 insertions(+), 21 deletions(-)