From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5880D15800F for ; Sun, 15 Jan 2023 13:01:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82CD8E07E0; Sun, 15 Jan 2023 13:01:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 61E4CE07E0 for ; Sun, 15 Jan 2023 13:01:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 70C5E340EC3 for ; Sun, 15 Jan 2023 13:01:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C3BAE62F for ; Sun, 15 Jan 2023 13:00:59 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1673787635.7e4f7e6cd7caa15755bcd2ffc15b7f169d3275ba.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/schroot/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/schroot/files/schroot-1.6.13-resize-reserve.patch X-VCS-Directories: dev-util/schroot/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7e4f7e6cd7caa15755bcd2ffc15b7f169d3275ba X-VCS-Branch: master Date: Sun, 15 Jan 2023 13:00:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2c2ad4f0-1136-44a7-8543-9b6e7c100368 X-Archives-Hash: c960e528ff698bc6173dcda98fca74d8 commit: 7e4f7e6cd7caa15755bcd2ffc15b7f169d3275ba Author: Sam James gentoo org> AuthorDate: Sun Jan 15 13:00:35 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jan 15 13:00:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e4f7e6c dev-util/schroot: add link to upstream PR for resize patch Signed-off-by: Sam James gentoo.org> dev-util/schroot/files/schroot-1.6.13-resize-reserve.patch | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dev-util/schroot/files/schroot-1.6.13-resize-reserve.patch b/dev-util/schroot/files/schroot-1.6.13-resize-reserve.patch index da798f3b4761..066894a16ecc 100644 --- a/dev-util/schroot/files/schroot-1.6.13-resize-reserve.patch +++ b/dev-util/schroot/files/schroot-1.6.13-resize-reserve.patch @@ -1,3 +1,5 @@ +https://codeberg.org/shelter/reschroot/pulls/6 + From 6d7a762d6d630548ed558e0de8ddf04f3b0a69fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= Date: Sat, 14 Jan 2023 22:53:20 +0100 @@ -6,12 +8,6 @@ Subject: [PATCH] sbuild-util: use resize instead of reserve Using reserved but uninitialized space is invalid, and, additionally, reserve is not required to allocate memory or change the buffer size at all. ---- - sbuild/sbuild-util.cc | 24 ++++++++++++------------ - 1 file changed, 12 insertions(+), 12 deletions(-) - -diff --git a/sbuild/sbuild-util.cc b/sbuild/sbuild-util.cc -index b89068a7..b6af7e89 100644 --- a/sbuild/sbuild-util.cc +++ b/sbuild/sbuild-util.cc @@ -624,17 +624,17 @@ void