Skip to content

Fix UB in NtUnicodeStrMut::try_from_u16()#2

Open
smichaku wants to merge 1 commit intoColinFinck:masterfrom
smichaku:fix-try_from_u16
Open

Fix UB in NtUnicodeStrMut::try_from_u16()#2
smichaku wants to merge 1 commit intoColinFinck:masterfrom
smichaku:fix-try_from_u16

Conversation

@smichaku
Copy link
Copy Markdown

Avoid transmuting an NtUnicodeStr into a NtUnicodeStrMut which is assigned a *const instead of a *mut for its buffer field.

Avoid transmuting an NtUnicodeStr into a NtUnicodeStrMut which is
assigned a *const instead of a *mut for its buffer field.
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