[Bug 258701] tests: lib/libutil/pidfile_test flaky due to uninitialized array

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 24 Sep 2021 03:29:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258701

--- Comment #2 from sigsys@gmail.com ---
(In reply to Konstantin Belousov from comment #1)
Yeah... that's better.

Pids can't be this large but if there's a bug anything could be written to that
file.  And the "" initialization zeroes out the whole array like that memset()
but it hides it up there in the middle of declarations.

-- 
You are receiving this mail because:
You are the assignee for the bug.