commit: 7e4f7e6cd7caa15755bcd2ffc15b7f169d3275ba Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Jan 15 13:00:35 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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?= <[email protected]> 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
