ipc: fix uninitialized field

The sockaddr_un.sun_len field was not initialized. It seems our API use
is correct by simply making sure it's 0.

Fixes CID 1350075.
This commit is contained in:
wm4 2016-02-12 16:11:05 +01:00
parent 0868546f9d
commit f9f3175487
1 changed files with 1 additions and 1 deletions

View File

@ -740,7 +740,7 @@ static void *ipc_thread(void *p)
int rc;
int ipc_fd;
struct sockaddr_un ipc_un;
struct sockaddr_un ipc_un = {0};
struct mp_ipc_ctx *arg = p;