An open source, portable, easy to use, readable and flexible TLS library, and reference implementation of the PSA Cryptography API. Releases are on a varying cadence, typically around 3 - 6 months between releases.
Summary:
set the psk to NULL after it is released. ssl_remove_psk will freessl->handshake->psk. If we don't set it to NULL. It may be used or free again in other conditions.
Test Plan:
Reviewers:
Subscribers: ronald.cron@arm.com
Tasks:
Tags:
Description
Address an issue that psk is not set to NULL after it is released.
PR checklist
Please tick as appropriate and edit the reasons (e.g.: "backport: not needed because this is a new feature")
[x] changelog not required (robustness improvement)
Summary: set the psk to NULL after it is released.
ssl_remove_psk
will freessl->handshake->psk
. If we don't set it toNULL
. It may be used or free again in other conditions.Test Plan:
Reviewers:
Subscribers: ronald.cron@arm.com
Tasks:
Tags:
Description
Address an issue that
psk
is not set to NULL after it is released.PR checklist
Please tick as appropriate and edit the reasons (e.g.: "backport: not needed because this is a new feature")
Notes for the submitter
Please refer to the contributing guidelines, especially the checklist for PR contributors.
Help make review efficient: