Bug 258275
| Summary: | REGRESSION(263809@main): [UNIX] SharedMemory::map is leaking the file descriptor | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> |
| Component: | WebKit2 | Assignee: | Carlos Garcia Campos <cgarcia> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply, don.olmstead, kkinnunen, webkit-bug-importer |
| Priority: | P2 | Keywords: | Gtk, InRadar, Regression |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=266495 | ||
Carlos Garcia Campos
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
Pull request: https://github.com/WebKit/WebKit/pull/15090
EWS
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
<rdar://problem/111050903>