From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oH2xF/E17WFvCwAAgWs5BA (envelope-from ) for ; Sun, 23 Jan 2022 12:03:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qPx9FPE17WGmRAEAauVa8A (envelope-from ) for ; Sun, 23 Jan 2022 12:03:13 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E14DC1958E for ; Sun, 23 Jan 2022 12:03:12 +0100 (CET) Received: from localhost ([::1]:42380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nBaeN-00012k-Ok for larch@yhetil.org; Sun, 23 Jan 2022 06:03:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBaeE-00012C-5F for guix-patches@gnu.org; Sun, 23 Jan 2022 06:03:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45713) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nBaeD-0005Ow-SB for guix-patches@gnu.org; Sun, 23 Jan 2022 06:03:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nBaeD-00057j-OB for guix-patches@gnu.org; Sun, 23 Jan 2022 06:03:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51747] [PATCH]: gnu: nix: Update to 2.4. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 23 Jan 2022 11:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51747 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch Cc: 51747@debbugs.gnu.org Received: via spool by 51747-submit@debbugs.gnu.org id=B51747.164293572719618 (code B ref 51747); Sun, 23 Jan 2022 11:03:01 +0000 Received: (at 51747) by debbugs.gnu.org; 23 Jan 2022 11:02:07 +0000 Received: from localhost ([127.0.0.1]:38613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBadL-00056L-L2 for submit@debbugs.gnu.org; Sun, 23 Jan 2022 06:02:07 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:44196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBadJ-00056C-5U for 51747@debbugs.gnu.org; Sun, 23 Jan 2022 06:02:05 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by xavier.telenet-ops.be with bizsmtp id mB24260034UW6Th01B240N; Sun, 23 Jan 2022 12:02:04 +0100 Message-ID: <52358f3d22650fb57542d005307c5547c078b06d.camel@telenet.be> From: Maxime Devos Date: Sun, 23 Jan 2022 12:02:03 +0100 In-Reply-To: <0cb528695857acda121e58dee76b1095634ea7bb.camel@telenet.be> References: <86sfw4chme.fsf@163.com> <864k8kcdzu.fsf@163.com> <861r3oau4u.fsf@163.com> <86lf1njad0.fsf@163.com> <86ilw4e6av.fsf@163.com> <87y23mheag.fsf_-_@gmail.com> <86pmoyrxyy.fsf@163.com> <190ec030edbca1c16fb030c51acd60ffc6bae269.camel@telenet.be> <86zgo0nsgf.fsf@163.com> <86pmoucl3g.fsf@163.com> <86bl0da6rn.fsf@163.com> <0cb528695857acda121e58dee76b1095634ea7bb.camel@telenet.be> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-/e5UBJPeyKqa6+3bpz3/" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1642935724; bh=F6+bJeQeyDFxtqx9m9q8WWVnhB2kgdPC9aS8VGoFlOk=; h=Subject:From:Cc:Date:In-Reply-To:References; b=Je4/C7ayjanYc43lK3jLan6IzmgpRWggySG/6NauFmoA9xLShvS80k3AXh9lrScq7 pwbFd8sPaANdcN9j/X1qqEJmdks33NAueToZkfW/qOZLI+c2CLBrC3DGOXsHVNFTt6 6lrKPHxO4HOk7n82Zyn8dgxoD05f0iY1b+dPPX150XNIomPeJJBF42rbO9zRoOqcWn W3mt1PfPJYqC/VJrdMsyWmj51uVER2Zi9r1Zh+4DzXU9V1BhFK08m+XfzxIfsT4fNp X0fjjOuVOWKJQnAz8MZ5EXCofH22SgxdBw5Ao0MBn42SCFu78kQS+ykgUZXXxQvIek 7V2GU3S1ZXcvQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642935793; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=F6+bJeQeyDFxtqx9m9q8WWVnhB2kgdPC9aS8VGoFlOk=; b=qGdhtACeGvTXp0fP9CU9TttTFq/2eFIHIQ04TDdBjs8RICLmYo8CxouZfz1H+6/GeYcXnS bOHXuKbjeGpbbcUZEDlQe6BK1oijsYgDudeP9o1zAIkVblWXQ8yjvq/LmCeEzcaa3Y14Jq 84PHDB0dXMnoVwruoUMAHmYkrVNtDzlVndvhyO7D//UmL9WG68jNBc3mmSuhUfGTH5wAym anJcXpVvqeifLJ3oZ13mOyxl7B4vKF4l1tnXbhNl2BXr604yLLwiLT2fsrNZdD9kRfMLuE z1tX0vnpAD1xCLf39OVINxZMiCQJ1MG1LT8Y39PWQ8FsmD29NvUy4+SRF0g2fw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642935793; a=rsa-sha256; cv=none; b=ZbCHda+pAXl28E6jBVXi/mBsSlt0YLhB59BuVjUgvikpeGNgNiqDF1ccDMd0uoI1+FmD5w tvvZXwYxofrvY3duv9pP6dRo39WsK1OKw5WeSSkP8scqlGMHs3p9NKDZAxqItkOf5RX3aK tyi6GJQ/W7XeeZZvDNe4FzbzEczV70sH5ii3X/9H+BTswjTGempZZ7pRT4XuYmr/U1zCYk gTNAGNwERc6ro92kzuomqVhL1hL16RNQhbjjW/neVQxS82UJA1jmWv6KvOaPetIZCMdJyL BADlfdQWsCDIRPpt9XRueD0TeTmfGDi7TE6KLa0qjKqk+smj2bzZxdBCV66PBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b="Je4/C7ay"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.23 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b="Je4/C7ay"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E14DC1958E X-Spam-Score: -2.23 X-Migadu-Scanner: scn1.migadu.com X-TUID: nS/3hryr40BY --=-/e5UBJPeyKqa6+3bpz3/ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Maxime Devos schreef op za 15-01-2022 om 11:52 [+0100]: > I looked a bit in the source code, and it seems to be missing > some error checking.=C2=A0 E.g., in libcpuid/cpuid_main.c:, > it is not verified that 'malloc' succeeded. >=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 list->names =3D (char**) mallo= c(sizeof(char*) * n); > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [...] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 list->names[n] =3D (char*) mal= loc (i - last) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [....] > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 list->names[n][i - last - 1 = =3D '\0'] This has been addressed upstream: . Greetings, Maxime. --=-/e5UBJPeyKqa6+3bpz3/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYe01qxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7gBBAP4pjMhnQIbsjp9hlL/on3QZenIe OgTU1fU/rgxCtWD6rwD/WDV9BOyo1jIvO9nDIELctE5Hz2fmhzQtKy+aFQzFcAk= =LMqo -----END PGP SIGNATURE----- --=-/e5UBJPeyKqa6+3bpz3/--