FreeBSD Bugzilla – Attachment 228144 Details for
Bug 258701
tests: lib/libutil/pidfile_test flaky due to uninitialized array
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
pidfile_test.c.diff (text/plain), 439 bytes, created by
sigsys
on 2021-09-24 02:24:46 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
sigsys
Created:
2021-09-24 02:24:46 UTC
Size:
439 bytes
patch
obsolete
>diff --git a/lib/libutil/tests/pidfile_test.c b/lib/libutil/tests/pidfile_test.c >index 9e516c35273c..e6d4dd5d7e21 100644 >--- a/lib/libutil/tests/pidfile_test.c >+++ b/lib/libutil/tests/pidfile_test.c >@@ -269,7 +269,7 @@ test_pidfile_inherited(void) > static const char * > test_pidfile_relative(void) > { >- char path[PATH_MAX], pid[32], tmpdir[PATH_MAX]; >+ char path[PATH_MAX], pid[32] = "", tmpdir[PATH_MAX]; > struct pidfh *pfh; > int fd; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 258701
: 228144