Wireshark-commits: [Wireshark-commits] master-1.12 90bc4af: Catch failure of _open_osfhandle().

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 16 Nov 2015 21:56:20 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=90bc4af2af9c20ad956bb4debd6d949be9d69c6f
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

90bc4af by Guy Harris (guy@xxxxxxxxxxxx):

    Catch failure of _open_osfhandle().
    
    This may at least prevent the crash in bug 11702, by not returning
    "success" with bogus file handles of -1, if the opens fail due to
    leaks chewing up all the available slots.  More investigation needs to
    be done to see why we're leaking.
    
    Change-Id: Iaa0fdac415ea1047255d64fa8597529ad31d63d1
    Reviewed-on: https://code.wireshark.org/review/11889
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  7a801e1   [Automatic update for 2015-11-15]
    adds  90bc4af   Catch failure of _open_osfhandle().


Summary of changes:
 capture_sync.c |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)