Skip to content

Conversation

@Bashmunta
Copy link
Contributor

The safety documentation for sys_rand referenced an outdated API (buf/nwords words) and described the buffer size in words instead of bytes, which could mislead callers about how much memory must be writable.Summary: Updated the sys_rand safety comment to mention recv_buf and words explicitly and to describe words as a byte count, aligning the documentation with the current function signature and behavior.

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