From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: binutils CVEs Date: Sun, 17 Sep 2017 22:23:56 +0200 Message-ID: <87mv5tdqg3.fsf@gnu.org> References: <20170917181927.GB16737@macbook42.flashner.co.il> <87a81tchdk.fsf@fastmail.com> <87377lcgss.fsf@fastmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dtg6o-0000SY-Mc for guix-devel@gnu.org; Sun, 17 Sep 2017 16:24:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dtg6j-0000EN-GT for guix-devel@gnu.org; Sun, 17 Sep 2017 16:24:06 -0400 In-Reply-To: <87377lcgss.fsf@fastmail.com> (Marius Bakke's message of "Sun, 17 Sep 2017 20:37:39 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Marius Bakke Cc: guix-devel@gnu.org Marius Bakke skribis: > Efraim Flashner writes: > >> On September 17, 2017 9:25:11 PM GMT+03:00, Marius Bakke wrote: >>>Efraim Flashner writes: >>> >>>> There's a large number of CVEs against binutils@2.28. Gentoo=C2=B9 has= a >>>nice >>>> long list of the CVEs, and I've put together a patch to graft a >>>> replacement, but I'm getting grafting errors: >>>> ERROR: replacement length differs from the original length >>>"h9nqlf0c82c1sds4yzs60k7pm4f37si2-binutils-2.28" >>>"wl5dg3dnqvk2v2ahh5iadnv1s34rsbb6-binutils-2.28.1" >>> >>>This is because the replacement name is two bytes longer (.1). >>> >>>To fix it, the version field of the replacement must be set to >>>something >>>with equal length of "2.28". I suppose we can use just that and >>>hard-code the source URL? >> >> That is the obvious solution, but I don't like it. It does make it harde= r to verify that it's grafted correctly but I guess it'll just have to be t= hat way. > > Maybe "2281". Or "fixd". Or =E2=80=9C2.2A=E2=80=9D? Ludo=E2=80=99.