Wireshark-commits: [Wireshark-commits] master 30919f7: Don't assume we have an array of GeoIP datab
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 19 Jun 2016 22:18:32 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=30919f7708a40ac536da07e6157e0f2ec250abe6
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

30919f7 by Guy Harris (guy@xxxxxxxxxxxx):

    Don't assume we have an array of GeoIP databases.
    
    The attempt to open them might fail; if geoip_dat_arr is null, just
    return 0 as the number of databases, don't crash.
    
    Change-Id: I967d863d328a42d7dce79f58d4fa67d922d0cb2c
    Reviewed-on: https://code.wireshark.org/review/16025
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  234d8ea   Pass the info strings directly to commandline_early_options().
    adds  30919f7   Don't assume we have an array of GeoIP databases.


Summary of changes:
 epan/geoip_db.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)