You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 30, 2026. It is now read-only.
Explanation:
The code frees the memory allocated to 'current_nonce' using 'free', but does not set the pointer to NULL. This can lead to a use-after-free vulnerability if 'current_nonce' is accessed after being freed.
Please investigate and resolve this issue to maintain code security and quality.
Vulnerability Details
src/state_example/crypto/crypto_1.cExplanation:
The code frees the memory allocated to 'current_nonce' using 'free', but does not set the pointer to NULL. This can lead to a use-after-free vulnerability if 'current_nonce' is accessed after being freed.
Please investigate and resolve this issue to maintain code security and quality.