static void test_diagnostics_data_write_n1(void **state)
{
(void) state;
- char buf[256];
+ char buf[256] = { 0 };
size_t count = sizeof(buf);
size_t bytes_written = 0;
{
(void) state;
struct _diagnostics_data_s data;
- char buf[256];
+ char buf[256] = { 0 };
size_t count = sizeof(buf);
size_t bytes_written = 0;
{
(void) state;
struct _diagnostics_data_s data;
- char buf[256];
+ char buf[256] = { 0 };
size_t count = sizeof(buf);
assert_int_equal(diagnostics_data_write(&data, buf, count, NULL), DIAGNOSTICS_ERROR_INVALID_PARAMETER);
(void) state;
struct _diagnostics_data_s data;
data.fd = 0;
- char buf[256];
+ char buf[256] = { 0 };
size_t count = sizeof(buf);
size_t bytes_written = 0;
(void) state;
struct _diagnostics_data_s data;
data.fd = 0;
- char buf[256];
+ char buf[256] = { 0 };
size_t count = sizeof(buf);
size_t bytes_written = 0;
(void) state;
struct _diagnostics_data_s data;
data.fd = 0;
- char buf[256];
+ char buf[256] = { 0 };
size_t count = sizeof(buf);
size_t bytes_written = 0;