Skip to content

refactor(http1): Replace usage of mem::uninitialized with MaybeUninit - #2536

Closed
mohsen-alizadeh wants to merge 1 commit into
hyperium:masterfrom
mohsen-alizadeh:2532-replace-uninitialized-with-MaybeUninit
Closed

mohsen-alizadeh wants to merge 1 commit into
hyperium:masterfrom
mohsen-alizadeh:2532-replace-uninitialized-with-MaybeUninit

Conversation

@mohsen-alizadeh

Copy link
Copy Markdown
Contributor

@Soveu

Soveu commented May 4, 2021

Copy link
Copy Markdown
Contributor

Problem is, MaybeUninit::uninit().assume_init() is UB in the same way mem::uninitialized is

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.

2 participants