Skip to content

Allocate the right amount of memory for auth_policy#3547

Draft
AndreasFuchsTPM wants to merge 1 commit intomasterfrom
autofix-58
Draft

Allocate the right amount of memory for auth_policy#3547
AndreasFuchsTPM wants to merge 1 commit intomasterfrom
autofix-58

Conversation

@AndreasFuchsTPM
Copy link
Member

@AndreasFuchsTPM AndreasFuchsTPM commented Feb 10, 2026

No description provided.

@AndreasFuchsTPM AndreasFuchsTPM changed the title Potential fix for code scanning alert no. 58: Not enough memory allocated for array of pointer type Allocate the right amount of memory for auth_policy Feb 10, 2026
For some reason we did a malloc(UINT16_MAX+...) which is way to much for a policy.

Signed-off-by: Andreas Fuchs <andreas.fuchs@infineon.com>

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants