Wireshark-commits: [Wireshark-commits] master 010e55c: Don't assume we can get a module handle for

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 13 Jun 2016 01:27:42 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=010e55ccf42d82ea5c4e085ab58a9a9764c45582
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

010e55c by Guy Harris (guy@xxxxxxxxxxxx):

    Don't assume we can get a module handle for kernel32.dll.
    
    A failure "shouldn't happen", but check anyway; if nothing else, that
    squelches some complaining from the VS Code Analysis tool.
    
    Change-Id: I9b06db399741176d0e9f859eb650bed8a2f96d9c
    Reviewed-on: https://code.wireshark.org/review/15860
    Petri-Dish: Guy Harris <guy@xxxxxxxxxxxx>
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  d72b29c   Qt: Add import from hex dump without offsets
    adds  010e55c   Don't assume we can get a module handle for kernel32.dll.


Summary of changes:
 wsutil/os_version_info.c |   11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)