WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
224004
Use MACH_PORT_VALID() when wanting to check if a mach port is valid
https://bugs.webkit.org/show_bug.cgi?id=224004
Summary
Use MACH_PORT_VALID() when wanting to check if a mach port is valid
Chris Dumez
Reported
2021-03-31 09:59:11 PDT
Use MACH_PORT_VALID() when wanting to check if a mach port is valid, instead of checking for MACH_PORT_NULL. MACH_PORT_VALID() is the correct way to check for validity since it also checks for the MACH_PORT_DEAD value.
Attachments
Patch
(6.94 KB, patch)
2021-03-31 10:01 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2021-03-31 10:01:17 PDT
Created
attachment 424783
[details]
Patch
EWS
Comment 2
2021-03-31 17:39:52 PDT
Committed
r275327
: <
https://commits.webkit.org/r275327
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 424783
[details]
.
Radar WebKit Bug Importer
Comment 3
2021-03-31 17:40:19 PDT
<
rdar://problem/76080057
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug