Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 2021 03:29:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        testing@FreeBSD.org
Subject:   [Bug 258701] tests: lib/libutil/pidfile_test flaky due to uninitialized array
Message-ID:  <bug-258701-32464-NmsYljHjYD@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-258701-32464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-258701-32464@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258701-32464-NmsYljHjYD>