Wireshark-commits: [Wireshark-commits] master 3d95c62: Don't try to look in a non-existent hash tab

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 9 Dec 2014 01:30:44 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3d95c623a8e5126d389bf3de0abfb02cb7354015
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

3d95c62 by Guy Harris (guy@xxxxxxxxxxxx):

    Don't try to look in a non-existent hash table.
    
    We only create hash tables if somebody puts a handler in one, so we need
    to check whether the hash table exists first, to avoid run-time warnings.
    
    Change-Id: I739d2d808935e651b11bd44b258f168a42ca4b7c
    Reviewed-on: https://code.wireshark.org/review/5683
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  f34bcb7   Don't put bitmasks under an FT_NONE.
    adds  3d95c62   Don't try to look in a non-existent hash table.


Summary of changes:
 wiretap/pcapng.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)