Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Aug 2003 16:40:48 +0200
From:      Pawel Jakub Dawidek <nick@garage.freebsd.pl>
To:        Hajimu UMEMOTO <ume@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/rtsold if.c
Message-ID:  <20030817144048.GZ395@garage.freebsd.pl>
In-Reply-To: <200308171154.h7HBswhr075964@repoman.freebsd.org>
References:  <200308171154.h7HBswhr075964@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--C6GqtNjDdnDsBy9k
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Aug 17, 2003 at 04:54:58AM -0700, Hajimu UMEMOTO wrote:
+>   Commiter:	Hajimu UMEMOTO <ume@FreeBSD.org>
+>   Branch:	HEAD
+>=20
+>   Files:
+> 	1.12   src/usr.sbin/rtsold/if.c =20
+>=20
+>   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.

--=20
Pawel Jakub Dawidek                       pawel@dawidek.net
UNIX Systems Programmer/Administrator     http://garage.freebsd.pl
Am I Evil? Yes, I Am!                     http://cerber.sourceforge.net

--C6GqtNjDdnDsBy9k
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iQCVAwUBPz+T8D/PhmMH/Mf1AQF2xgP/a+qLpXRMrtW4wOBAprYNvF8s+rAxicns
F4v/RGYlpXwtvA3ULpgmVbkdHFZ/i6V7x1T4fthEyZJcfWxFEmK363ycAQoetdMV
XKf1/WkmYjgCM7f23GZTlo8KMiBCmSvvywMJzU6TsO1B9aPnFfJjyKDk2f4O/GWh
qUvFDx2+PFs=
=Y28s
-----END PGP SIGNATURE-----

--C6GqtNjDdnDsBy9k--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030817144048.GZ395>