dev-util/schroot: add link to upstream PR for resize patch

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2023-01-15 13:00:35 +00:00
parent eb80d08494
commit 7e4f7e6cd7

View File

@@ -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?= <arsen@aarsen.me>
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