Wireshark-commits: [Wireshark-commits] master-2.4 9c9d07c: Pick the *first* usable file type as the

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 28 Apr 2018 19:11:30 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9c9d07ce53614cc1b22f575846ee09de7dd5ce69
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark

Commits:

9c9d07c by Guy Harris (guy@xxxxxxxxxxxx):

    Pick the *first* usable file type as the default, not the *last* one.
    
    In wtap_get_savable_file_types_subtypes(), in the search for a default
    file type to use, stop as soon as we've found a usable file type, don't
    keep searching.
    
    Bug: 14601
    Change-Id: Iff4ffe14f5ad07271c49a761e0856059353c1634
    Reviewed-on: https://code.wireshark.org/review/27193
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 1eb04d7ecb76c79cf681798b51aaa51aad938325)
    Reviewed-on: https://code.wireshark.org/review/27195
    

Actions performed:

    from  7881bd9   Fix crash (null pointer deref) when specifying an interface option
    adds  9c9d07c   Pick the *first* usable file type as the default, not the *last* one.


Summary of changes:
 wiretap/file_access.c | 1 +
 1 file changed, 1 insertion(+)