From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 29 Nov 2007 09:02:40 +0300 From: =?koi8-r?B?5MXOydMg883J0s7P1w==?= To: ALT Linux Team development discussions Message-ID: <20071129060240.GB26134@mw.local.seiros.ru> References: <20071125120814.GA22522@basalt.office.altlinux.org> <20071125195520.GS28492@osdn.org.ua> <20071125211632.GC30421@basalt.office.altlinux.org> <20071126085538.GB13915@mw.local.seiros.ru> <474C3898.6090500@sandy.ru> <20071127154518.GM11953@basalt.office.altlinux.org> <75e139a00711272256i770bd25ci550debea6f99b693@mail.gmail.com> <20071128113328.GD32244@basalt.office.altlinux.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BwCQnh7xodEAoBMC" Content-Disposition: inline In-Reply-To: <20071128113328.GD32244@basalt.office.altlinux.org> Subject: Re: [devel] IA: destination buffer overflow - ppp X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2007 06:02:44 -0000 Archived-At: List-Archive: List-Post: --BwCQnh7xodEAoBMC Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 28, 2007 at 02:33:28PM +0300, Dmitry V. Levin wrote: > > >> - strncat(ttyname, name, sizeof(ttyname)); >> + strncat(ttyname, name, sizeof(ttyname)-1); > >> =E1=D7=D4=CF=D2 =DC=D4=CF=C7=CF =CB=CF=C4=C1 =CE=C5 =D3=D0=D2=C1=D7=C9= =CC=D3=D1 =D3 =C6=D5=CE=CB=C3=C9=C5=CA strncat. > >> =E9=D3=D0=D2=C1=D7=CC=C5=CE=C9=C5 =D4=D2=C9=D7=C9=C1=CC=D8=CE=CF. >> =E6=C9=CB=D3 =C4=CF=CC=D6=C5=CE =C2=D9=D4=D8 =D4=C1=CB=C9=CD (=D3=CD. = =D7=D9=DB=C5)? =E9=CC=C9 =CE=C5=D4? DVL> =E4=C1, =D4=C1=CB=C9=CD. =FC=D4=CF =C4=C5=CA=D3=D4=D7=C9=D4=C5=CC=D8=CE=CF =CC=D5=DE=DB=C5=C5 =D2=C5= =DB=C5=CE=C9=C5? --=20 =F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD, =E4=C5=CE=C9=D3 http://freesource.info ---------------------------------------------------------------------------- =D0=D2=CF=C7=D2=C1=CD=CD=D9, =D5=D3=D4=C1=CE=CF=D7=CC=C5=CE=CE=D9= =C5 =D3 =D0=CF=CD=CF=DD=D8=C0 cp, =CE=D5=D6=CE=CF =D5=C4=C1=CC=D1=D4=D8 =D3= =D0=CF=CD=CF=DD=D8=C0 rm --BwCQnh7xodEAoBMC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHTlYAPuR8c4jhFKIRAnTNAJ4wzfI6/tj/k2q+WddRjaIO30EMTgCffZgo EZiVg4+U5WkaCzHShLoOLxw= =qf12 -----END PGP SIGNATURE----- --BwCQnh7xodEAoBMC--