utils: make sure read() string is 0 terminated
authorDaniel Golle <daniel@makrotopia.org>
Mon, 23 Aug 2021 17:01:28 +0000 (18:01 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 24 Aug 2021 17:31:46 +0000 (18:31 +0100)
commit6010bd3e126717ef8e16a83d5b489aea42de889d
treeb437f81c434e3f3f7fb5904acab185625da573d8
parentaf048a34bc68f85427a230e3a2b4c196738e03f8
utils: make sure read() string is 0 terminated

Coverity CID: 1490062 String not null terminated

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
utils/utils.c