mountd(8): Replace malloc+strcpy with strdup/strndup
authorAaron LI <aly@aaronly.me>
Fri, 10 Nov 2017 12:01:35 +0000 (20:01 +0800)
committerSascha Wildner <saw@online.de>
Wed, 14 Mar 2018 08:21:02 +0000 (09:21 +0100)
commit284e3b3ba6e1bfbfbae67e2acf5f719159c4ea36
tree9b45e2e9cde74285f2b4020987082f163462419e
parent19e6154dd4c873698a0ae01a6d2f2e9793d15b04
mountd(8): Replace malloc+strcpy with strdup/strndup

Taken-from: FreeBSD r324007,r324014
sbin/mountd/mountd.c