]> git.ipfire.org Git - thirdparty/lldpd.git/commit
lldpcli: replace safe use of `strcpy` by `strlcpy`
authorVincent Bernat <bernat@luffy.cx>
Wed, 25 Dec 2013 11:12:10 +0000 (12:12 +0100)
committerVincent Bernat <bernat@luffy.cx>
Wed, 25 Dec 2013 11:12:10 +0000 (12:12 +0100)
commit608b5669ebf13b4e9e3dbceae4a718a1b54b2e7f
tree9f36f9b6e68c3148aacd37a1118c232403071fb3
parent0fd9e6e25bfbc81f0d57763d64126ceaabcc6d00
lldpcli: replace safe use of `strcpy` by `strlcpy`

The idea is to ease automated testing by removing all use of
`strcpy`. See:
 http://marc.info/?l=openbsd-tech&m=138733933417096&w=2
src/client/lldpcli.c
tests/check_edp.c
tests/common.c