cvs commit: src/usr.sbin/rtsold if.c
Pawel Jakub Dawidek
nick at garage.freebsd.pl
Sun Aug 17 07:40:35 PDT 2003
On Sun, Aug 17, 2003 at 04:54:58AM -0700, Hajimu UMEMOTO wrote:
+> Commiter: Hajimu UMEMOTO <ume at FreeBSD.org>
+> Branch: HEAD
+>
+> Files:
+> 1.12 src/usr.sbin/rtsold/if.c
+>
+> Log:
+> backout 1.11. ifname in struct ifreq should be copyed by strncpy.
Why? Could you explain this?
This string shouldn't be terminated with '\0'? It think it should, because
strcpy(3) was used before.
--
Pawel Jakub Dawidek pawel at dawidek.net
UNIX Systems Programmer/Administrator http://garage.freebsd.pl
Am I Evil? Yes, I Am! http://cerber.sourceforge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20030817/ef605a0d/attachment.bin
More information about the cvs-src
mailing list