Skip to content

Bug: the posix example client can stack overflow #378

Description

@DrKatieL

When initializing the posix client from the examples main() creates a FLASH_RAM_SIZE buffer on the stack for memory. This defaults to 1MB and can contribute to stack overflows later in execution. Since this is the posix example and should have heap available, putting the flash on the heap reduces the likelihood of overflows.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions