commit | 5b52b0039319aff61360838b83cb7247942646f6 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Feb 26 21:19:53 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Fri Feb 26 21:21:21 2021 +0100 |
tree | 250fe0bb0689027a9790efcb0c070540e9b23471 | |
parent | 35cd7343563c3f0f6f6ad8c72e7810d817197bdf [diff] |
CLEANUP: vars: always zero the pointers after a free() In sample_store(), depending on the new sample types, the area pointer was not always zeroed after being freed. Let's make sure it's always the case to avoid the risk of dangling pointers being misused.