Bug 53424 - NativeMethods::DuplicateHandle methods are not async abort safe
Summary: NativeMethods::DuplicateHandle methods are not async abort safe
Status: NEW
Alias: None
Product: Class Libraries
Classification: Mono
Component: System (show other bugs)
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Ludovic Henry
URL:
Depends on:
Blocks:
 
Reported: 2017-03-16 23:09 UTC by Rodrigo Kumpera
Modified: 2017-03-16 23:09 UTC (History)
1 user (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description Rodrigo Kumpera 2017-03-16 23:09:08 UTC
They must use the try{} finally { ...} pattern of protected abort blocks when using naked handles and constructing SafeHandles out of them.

Note You need to log in before you can comment on or make changes to this bug.