From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 X-Virus-Scanned: amavisd-new at office.etersoft.ru Date: Tue, 14 Jul 2009 22:29:59 +0400 From: "Ivan A. Melnikov" To: devel@lists.altlinux.org Message-ID: <20090714222959.240b0ac3@deimos.localdomain> In-Reply-To: <20090714173734.GA11410@ubuntu> References: <20090714094656.1939F196629B@ssh.git.orion.altlinux.org> <20090714105416.GB1515@wo.int.altlinux.org> <20090714173734.GA11410@ubuntu> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.4; x86_64-alt-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 18:29:59 -0000 Archived-At: List-Archive: List-Post: =D0=92 Tue, 14 Jul 2009 21:37:34 +0400 Vladimir Lettiev =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > 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; > > > + }; > > > +=20 > >=20 > > =D0=9F=D0=BE=D1=81=D0=BB=D0=B5 =D1=8D=D1=82=D0=BE=D0=B3=D0=BE =D0=B8=D0= =B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F gnupg2 =D0=BD=D0=B0=D1=87=D0= =BD=D1=91=D1=82 =D0=BF=D0=B0=D0=B4=D0=B0=D1=82=D1=8C. >=20 > =D0=9A=D0=B0=D0=BA =D1=8F =D0=BF=D0=BE=D0=BD=D0=B8=D0=BC=D0=B0=D1=8E, =D1= =8D=D1=82=D0=BE =D0=BE=D1=87=D0=B5=D0=BD=D1=8C =D0=BF=D0=BE=D0=BF=D1=83=D0= =BB=D1=8F=D1=80=D0=BD=D1=8B=D0=B9 =D0=BF=D1=80=D0=B8=D1=91=D0=BC =D0=B4=D0= =BB=D1=8F =D1=81=D0=BE=D0=B7=D0=B4=D0=B0=D0=BD=D0=B8=D1=8F =D0=BF=D0=BE=D0= =BB=D1=8F > =D0=BF=D0=B5=D1=80=D0=B5=D0=BC=D0=B5=D0=BD=D0=BD=D0=BE=D0=B9 =D0=B4=D0=BB= =D0=B8=D0=BD=D1=8B =D0=B2 =D1=81=D1=82=D1=80=D1=83=D0=BA=D1=82=D1=83=D1=80= =D0=B5. =D0=9F=D0=B0=D0=BC=D1=8F=D1=82=D1=8C =D0=B2=D1=8B=D0=B4=D0=B5=D0=BB= =D1=8F=D0=B5=D1=82=D1=81=D1=8F =D0=BA=D0=B0=D0=BA =D1=81=D1=83=D0=BC=D0=BC= =D0=B0 > sizeof(=D1=81=D1=82=D1=80=D1=83=D0=BA=D1=82=D1=83=D1=80=D0=B0)+strlen(=D0= =B4=D0=B0=D0=BD=D0=BD=D1=8B=D0=B5), =D0=B0 =D0=BF=D0=BE=D1=82=D0=BE=D0=BC = =D0=B2 =D0=BF=D0=BE=D0=BB=D0=B5, =D0=BA=D0=BE=D1=82=D0=B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