ipc: zero initialize message buffer

This commit is contained in:
Christoph Haag 2022-05-09 14:49:06 +02:00
parent a24551b24b
commit f76b31795f

View file

@ -75,7 +75,7 @@ client_loop(volatile struct ipc_client_state *ics)
return;
}
uint8_t buf[IPC_BUF_SIZE];
uint8_t buf[IPC_BUF_SIZE] = {0};
while (ics->server->running) {
const int half_a_second_ms = 500;