Skip to content

zcbor_any_skip has no bounds on recursion #591

@GB6336

Description

@GB6336

"zcbor_any_skip" recursively calls itself and places zcbor_state_t on the stack

This seems to be against the design philosopy, as other functionality uses the zcbor_state_t array,

Would prefer that there is at least a macro constraining the number of recursions,

As heavily nested maps/list decoded with any could cause stack overflows/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions