Skip to content

Reject negative native ByteBuffer capacity - #332

Open
OskarEichler wants to merge 1 commit into
socketry:mainfrom
OskarEichler:audit/negative-bytebuffer-capacity
Open

OskarEichler wants to merge 1 commit into
socketry:mainfrom
OskarEichler:audit/negative-bytebuffer-capacity

Conversation

@OskarEichler

Copy link
Copy Markdown

Summary

Validate negative native ByteBuffer capacity as ArgumentError before unsigned allocation conversion.

Verification

112 native examples, focused model, native builds on Ruby 4.0.6 and 3.2.11, exact package/install, Puma/Action Cable/Songstats load.

Prepared with AI assistance and manually reviewed. DCO 1.1 certified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant