Wireshark-commits: [Wireshark-commits] master fe363c5: Make sure GetModuleHandle(_T("kernel32.dll")

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 28 Feb 2018 05:08:58 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=fe363c540e0a16d7d27891030dbd15ab241046ea
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

fe363c5 by Guy Harris (guy@xxxxxxxxxxxx):

    Make sure GetModuleHandle(_T("kernel32.dll") succeeds.
    
    If it doesn't, we're living in the Twilight Zone - that's like not
    finding libc/libSystem/whatever-your-UN*X-calls-it on a UN*X - but this
    should at least remove one complaint from Visual Studio Code Analyzer.
    
    Change-Id: Iccb568ea022ac28be962ab3fec5bccdfdf69ac13
    Reviewed-on: https://code.wireshark.org/review/26165
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  768488d   ieee80211: Fix handling of compressed block acks.
    adds  fe363c5   Make sure GetModuleHandle(_T("kernel32.dll") succeeds.


Summary of changes:
 wsutil/file_util.c | 46 +++++++++++++++++++++++++---------------------
 1 file changed, 25 insertions(+), 21 deletions(-)