Bug #101767 | Allocated by `new[]` but deallocated by `delete` | ||
---|---|---|---|
Submitted: | 26 Nov 2020 5:52 | Modified: | 18 Feb 2021 18:59 |
Reporter: | Ella Ma | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Security: Encryption | Severity: | S3 (Non-critical) |
Version: | 8.0 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | bad deallocation |
[26 Nov 2020 5:52]
Ella Ma
[30 Nov 2020 15:06]
MySQL Verification Team
Hi Mr. Ma, Thank you for your bug report. We fully agree with your analysis. unique_ptr<> that is allocated by new[] should be deallocated by delete[]. Verified as reported.
[30 Nov 2020 15:11]
MySQL Verification Team
Setting correct category.
[18 Feb 2021 18:59]
Paul DuBois
Posted by developer: Fixed in 8.0.24. Code cleanup. No changelog entry required.
[19 Feb 2021 13:16]
MySQL Verification Team
Thank you, Paul.