odhcpd: fix strncpy bounds
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 3 May 2018 15:21:15 +0000 (17:21 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Thu, 3 May 2018 15:21:15 +0000 (17:21 +0200)
commit4983ee551a743e55bb2f2ec12ceab0ddba13eb2d
tree39dc399369793e650521d637d7ade32743a599b8
parent413652910234f44e11d6550abf6871621474b8cb
odhcpd: fix strncpy bounds

Fix strncpy bounds as reported by Coverity in CID 1412278 and 1412293

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/dhcpv4.c
src/odhcpd.c