Date: Fri, 24 Mar 1995 07:51:33 -0800 From: "Andrey A. Chernov" <ache> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/net getnetnamadr.c Message-ID: <199503241551.HAA05439@freefall.cdrom.com>
next in thread | raw e-mail | index | archive | help
ache 95/03/24 07:51:32 Modified: lib/libc/net getnetnamadr.c Log: 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503241551.HAA05439>