From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 15 Jul 2009 02:51:19 +0400 From: "Dmitry V. Levin" To: ALT Linux Team development discussions Message-ID: <20090714225119.GC9973@wo.int.altlinux.org> Mail-Followup-To: ALT Linux Team development discussions References: <20090714094656.1939F196629B@ssh.git.orion.altlinux.org> <20090714105416.GB1515@wo.int.altlinux.org> <20090714173734.GA11410@ubuntu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TYecfFk8j8mZq+dy" Content-Disposition: inline In-Reply-To: <20090714173734.GA11410@ubuntu> X-fingerprint: FE4C 93AB E19A 2E4C CB5D 3E4E 7CAB E6AC 9E35 361E Subject: Re: [devel] [SCM] packages/gnupg2: heads/master X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 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: Tue, 14 Jul 2009 22:51:19 -0000 Archived-At: List-Archive: List-Post: --TYecfFk8j8mZq+dy Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 14, 2009 at 09:37:34PM +0400, Vladimir Lettiev wrote: > On Tue, Jul 14, 2009 at 02:54:16PM +0400, Dmitry V. Levin wrote: > > On Tue, Jul 14, 2009 at 01:46:56PM +0400, Sergey V. Turchin wrote: > > > --- /dev/null > > > +++ b/gnupg-2.0.12-alt-fix-possible-overflow.patch > > > @@ -0,0 +1,11 @@ > > > +--- gnupg-2.0.12/g10/keygen.c~ 2009-07-13 17:27:14 +0400 > > > ++++ gnupg-2.0.12/g10/keygen.c 2009-07-14 13:33:08 +0400 > > > +@@ -85,7 +85,7 @@ struct para_data_s { > > > + u32 creation; > > > + unsigned int usage; > > > + struct revocation_key revkey; > > > +- char value[1]; > ^^^^^^^^^^^^^ > > > ++ char value[21]; > > > + } u; > > > + }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1=D4=D8 f= lexible array member =D7 union. --=20 ldv --TYecfFk8j8mZq+dy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkpdC+cACgkQfKvmrJ41Nh7lbQCfUmdugiOHHEw1dVtUScByzJ6j ka0An3txnSwOa2EfoqpPSZFc0xc7k6Mq =/eIF -----END PGP SIGNATURE----- --TYecfFk8j8mZq+dy--