Skip to content

Replace AsSliceU8 trait with zerocopy::AsBytes #692

Closed
@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

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions