Skip to content

Make channel 0 invalid #2321

Closed
Closed
@brson

Description

@brson

I've seen one bug where unsafe code accidentally sent data to channel 0. We should start them at 1 and assert in the runtime when looking up channel 0.

Metadata

Metadata

Assignees

Labels

A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions