Skip to content

Replace AsSliceU8 trait with zerocopy::AsBytes #692

@mkroening

Description

@mkroening

Padding is uninitialized: Glossary - Unsafe Code Guidelines Reference

We do not check for padding, neither is AsSliceU8 unsafe.
zerocopy::AsBytes performs these checks.

Metadata

Metadata

Assignees

Labels

soundnessSomething is unsound.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions