system-linux: fix strncpy bounds
authorHans Dedecker <dedeckeh@gmail.com>
Sun, 22 Apr 2018 20:23:49 +0000 (22:23 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Tue, 24 Apr 2018 20:28:52 +0000 (22:28 +0200)
commit4f4a8c0895cec56df2141df526a1ee87fdb94a2b
treefb245a16810caef8ed2457ea0ecbb1e6f87dac84
parentb3dca7b64d3646a91cc4520652f2e2e144478143
system-linux: fix strncpy bounds

Fix strncpy bounds as reported by Coverity in CID 14349881328977,
13289531328952132895113289501328949 and 1328944.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
system-linux.c