aboutsummaryrefslogtreecommitdiff
path: root/contrib/kyua/utils/sqlite/database_test.cpp
diff options
context:
space:
mode:
authorAndre Silva <andasilv@amd.com>2026-11-05 13:54:31 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2026-11-05 13:55:07 +0000
commita97914284c2e7a7dc330f4d93218e8d7f1e758b2 (patch)
treef1957abe2ce0bea9316e3e64cb69a01fc4e22a94 /contrib/kyua/utils/sqlite/database_test.cpp
parentabd7dfa09a0ed1c06924226da0285d0731273f66 (diff)
pmc(8): zero-initialize the event descriptor in stat modeHEADmain
cmd_pmc_stat allocated the event descriptor with malloc and then set only some of its fields, so the rest held whatever was on the heap. Use calloc() instead. Reviewed by: mhorne MFC after: 3 days Sponsored by: AMD Signed-off-by: Andre Silva <andasilv@amd.com> Differential Revision: https://reviews.freebsd.org/D59364
Diffstat (limited to 'contrib/kyua/utils/sqlite/database_test.cpp')
0 files changed, 0 insertions, 0 deletions