Valgrind: misused UNIV_MEM_ALLOC after ut_zalloc_nokey
General
Escalation
General
Escalation
Description
Environment
None
Smart Checklist
Activity
Show:
Done
Smart Checklist
Open Smart Checklist
Smart Checklist

Open Smart Checklist
Created November 13, 2018 at 1:28 PM
Updated March 6, 2024 at 12:42 PM
Resolved November 14, 2018 at 8:34 AM
There is wrongly used UNIV_MEM_ALLOC (equals to VALGRIND_MAKE_MEM_UNDEFINED) after memory block was zeroed with ut_zalloc_nokey() in 5.7.24:
https://github.com/mysql/mysql-server/blob/5.7/storage/innobase/include/buf0buf.ic#L773
and 8.0.13:
https://github.com/mysql/mysql-server/blob/8.0/storage/innobase/include/buf0buf.ic#L722