iolog: Ensure that sockaddr_un.sun_path is '\0'-terminated
authorBart Van Assche <bvanassche@acm.org>
Sun, 26 Aug 2018 15:38:28 +0000 (08:38 -0700)
committerBart Van Assche <bvanassche@acm.org>
Fri, 7 Sep 2018 14:21:10 +0000 (07:21 -0700)
commitc7d23f4bd20fcb255619508210ed91f185f0ff6f
tree5ff015ec0ff59cd69f046da2797b28279490ad83
parentbb661c4027e5a0482b9fcc1c1b4e7e918650ee72
iolog: Ensure that sockaddr_un.sun_path is '\0'-terminated

This patch fixes Coverity ID 183494.

Fixes: 2f8f4821ef61 ("iolog: allow to read_iolog from unix socket")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
iolog.c