WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
258275
REGRESSION(
263809@main
): [UNIX] SharedMemory::map is leaking the file descriptor
https://bugs.webkit.org/show_bug.cgi?id=258275
Summary
REGRESSION(263809@main): [UNIX] SharedMemory::map is leaking the file descriptor
Carlos Garcia Campos
Reported
2023-06-19 06:03:54 PDT
Once mapped, we don't need to keep the file descriptor open. Before
263809@main
, we cleared the file descriptor after the mmap call, then created an instance with -1 as fd. Now we are creating the new instance with the handle fd moved.
Attachments
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2023-06-19 06:05:39 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/15090
EWS
Comment 2
2023-06-20 10:50:19 PDT
Committed
265326@main
(901d1f8cc477): <
https://commits.webkit.org/265326@main
> Reviewed commits have been landed. Closing PR #15090 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2023-06-20 10:51:18 PDT
<
rdar://problem/111050903
>
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