summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pwd_mkdb
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-03-24 15:51:30 +0000
committerache <ache@FreeBSD.org>1995-03-24 15:51:30 +0000
commit522e5e4d534ca03d5c37eee0e66cdff59d100de8 (patch)
treed700b9bbf1ff6c049312a6eb2f10ff374fd01a35 /usr.sbin/pwd_mkdb
parent74c984e74d6e85a006418d318d5aa7b26abd8247 (diff)
downloadFreeBSD-src-522e5e4d534ca03d5c37eee0e66cdff59d100de8.zip
FreeBSD-src-522e5e4d534ca03d5c37eee0e66cdff59d100de8.tar.gz
Sicnce this code shares the same fragment as gethostnamaddr:
Change strtok() to strsep(), cause memory corruption for all programs which use strtok() too in the same time. Fix potential NULL reference, depends of /etc/hosts.conf format Fix the bug when service name fetched always from beginning of the line, not from parsed token.
Diffstat (limited to 'usr.sbin/pwd_mkdb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud