Skip to content

dynamic thread objects do not have a thread ID assigned #9081

@andrewboie

Description

@andrewboie

k_thread objects created with k_object_alloc() have an uninitialized data field which is used to store the thread ID for the object.

It's not possible to assign these objects permissions to anything, or worse, they could be masquerading as some other thread since the field is not initialized at all.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions