Bug 250557 - IPC stream buffer interface allows creating npot buffer sizes
Summary: IPC stream buffer interface allows creating npot buffer sizes
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Kimmo Kinnunen
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-01-13 02:36 PST by Kimmo Kinnunen
Modified: 2023-01-14 00:45 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kimmo Kinnunen 2023-01-13 02:36:59 PST
IPC stream buffer interface allows creating npot buffer sizes

Non-power of two buffer sizes are problematic because the circular buffer algorithm benefits from using power of two buffers.
Comment 1 Radar WebKit Bug Importer 2023-01-13 02:37:26 PST
<rdar://problem/104217729>
Comment 2 Kimmo Kinnunen 2023-01-13 02:41:19 PST
Pull request: https://github.com/WebKit/WebKit/pull/8613
Comment 3 EWS 2023-01-14 00:45:38 PST
Committed 258911@main (b3f9762fcd0a): <https://commits.webkit.org/258911@main>

Reviewed commits have been landed. Closing PR #8613 and removing active labels.