Skip to content

native: tlsf: early malloc will lead to a crash #5796

@OlegHahm

Description

@OlegHahm

In case an application uses the TLSF package built for native, the process will crash if a TLSF function (like malloc()) is called before TLSF initialized its buffer - which is typically done in the application.

Possible solutions to this problem would be either to patch TLSF to check if the buffer was already reserved or to implement #4490.

Metadata

Metadata

Labels

Area: pkgArea: External package portsPlatform: nativePlatform: This PR/issue effects the native platformType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions