summaryrefslogtreecommitdiffstats
path: root/pw/pw.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-05-10 10:15:36 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-05-10 10:15:36 +0000
commit97f18faf798474452fd15880e7e8c81d786465e7 (patch)
tree7deeaf31b0496fa849298c3819ecf26bc6163069 /pw/pw.c
parent23c65c2198c1b58184f7fafd8a70e8274fe1e91a (diff)
downloadpw-darwin-97f18faf798474452fd15880e7e8c81d786465e7.tar.gz
pw-darwin-97f18faf798474452fd15880e7e8c81d786465e7.tar.zst
pw-darwin-97f18faf798474452fd15880e7e8c81d786465e7.zip
The initial logic for allocating the new string was wrong, the conversion
to strndup(3) duplicated the same mistake, actually strdup(3) is good enough to allocate the new string.
Diffstat (limited to 'pw/pw.c')
0 files changed, 0 insertions, 0 deletions