Valgrind: misused UNIV_MEM_ALLOC after ut_zalloc_nokey

Description

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

Environment

None

Smart Checklist

Activity

Show:
Done

Details

Assignee

Reporter

Labels

Time tracking

4h logged

Fix versions

Affects versions

Priority

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