From: Thomas Perale via buildroot <buildroot@buildroot.org>
To: Bernd Kuhls <bernd@kuhls.net>
Cc: Thomas Perale <thomas.perale@mind.be>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/screen: security bump to version 5.0.2
Date: Fri, 17 Jul 2026 17:47:39 +0200 [thread overview]
Message-ID: <20260717154739.192324-1-thomas.perale@mind.be> (raw)
In-Reply-To: <20260712110525.1544641-1-bernd@kuhls.net>
In reply of:
> Rebased patch 0001.
>
> No CVE entries are found but these commits are part of the bump:
>
> TOCTOU + chown-follows-symlink in socket directory creation:
> https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=v.5.0.2&id=3dea5ff20c58ad497062d094b6a9b80a7535a7db
>
> fix potential null pointer dereference:
> https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?h=v.5.0.2&id=ff9d98b8e39f33b07156995188ca55f3459f4d53
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Applied to 2025.02.x & 2026.05.x. Thanks
> ---
> Gitlab pipelines passed:
> https://gitlab.com/bkuhls/buildroot/-/commits/06012fcffc60a88cad7beb43b73b149d453eb3db
> https://gitlab.com/bkuhls/buildroot/-/commits/1f1b7f8d36e68f6ded627ff203413de028443d8a
>
> ...001-Do-not-create-backup-of-old-installed-binary.patch | 8 +++++---
> package/screen/screen.hash | 4 ++--
> package/screen/screen.mk | 2 +-
> 3 files changed, 8 insertions(+), 6 deletions(-)
>
> diff --git a/package/screen/0001-Do-not-create-backup-of-old-installed-binary.patch b/package/screen/0001-Do-not-create-backup-of-old-installed-binary.patch
> index 4a8a55dcec..36a8c9a2c2 100644
> --- a/package/screen/0001-Do-not-create-backup-of-old-installed-binary.patch
> +++ b/package/screen/0001-Do-not-create-backup-of-old-installed-binary.patch
> @@ -11,6 +11,8 @@ Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> [Julien: rebase on top of 4.9.1]
> [Julien: rebase on top of 5.0.0]
> Signed-off-by: Julien Olivain <ju.o@free.fr>
> +[Bernd: rebase on top of 5.0.2]
> +Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
> Makefile.in | 5 -----
> 1 file changed, 5 deletions(-)
> @@ -19,8 +21,8 @@ diff --git a/Makefile.in b/Makefile.in
> index 92f434a..860ecd7 100644
> --- a/Makefile.in
> +++ b/Makefile.in
> -@@ -77,12 +77,8 @@ tests/test-%: tests/test-%.c %.o tests/mallocmock.o tests/macros.h tests/signatu
> - $(CC) $(CPPFLAGS) $(CFLAGS) $< -o $@ $*.o tests/mallocmock.o
> +@@ -85,12 +85,8 @@ tests/test-detach-cli: tests/integration-detach.c tests/macros.h screen
> + $(CC) $(CPPFLAGS) $(CFLAGS) $< -o $@
>
> install_bin: screen installdirs
> - -if [ -f $(DESTDIR)$(bindir)/$(SCREEN) ] && [ ! -f $(DESTDIR)$(bindir)/$(SCREEN).old ]; \
> @@ -32,7 +34,7 @@ index 92f434a..860ecd7 100644
> rm -f $(DESTDIR)$(bindir)/screen
> (cd $(DESTDIR)$(bindir) && ln -f -s $(SCREEN) screen)
> cp $(srcdir)/utf8encodings/?? $(DESTDIR)$(SCREENENCODINGS)
> -@@ -107,7 +103,6 @@ installdirs:
> +@@ -115,7 +111,6 @@ installdirs:
> uninstall:
> rm -f $(DESTDIR)$(bindir)/$(SCREEN)
> rm -f $(DESTDIR)$(bindir)/screen
> diff --git a/package/screen/screen.hash b/package/screen/screen.hash
> index 61bacd88ff..f030e45490 100644
> --- a/package/screen/screen.hash
> +++ b/package/screen/screen.hash
> @@ -1,5 +1,5 @@
> # Locally calculated after checking pgp signature
> -# https://ftp.gnu.org/gnu/screen/screen-5.0.1.tar.gz.sig
> -sha256 2dae36f4db379ffcd14b691596ba6ec18ac3a9e22bc47ac239789ab58409869d screen-5.0.1.tar.gz
> +# https://ftp.gnu.org/gnu/screen/screen-5.0.2.tar.gz.sig
> +sha256 ca9a2c7e240919bc7ac12124593ae4529bb4eb5f7349d8857829b7e3f0b3b332 screen-5.0.2.tar.gz
> # Locally calculated
> sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b COPYING
> diff --git a/package/screen/screen.mk b/package/screen/screen.mk
> index c85abaf411..c279fed8bc 100644
> --- a/package/screen/screen.mk
> +++ b/package/screen/screen.mk
> @@ -4,7 +4,7 @@
> #
> ################################################################################
>
> -SCREEN_VERSION = 5.0.1
> +SCREEN_VERSION = 5.0.2
> SCREEN_SITE = $(BR2_GNU_MIRROR)/screen
> SCREEN_LICENSE = GPL-3.0+
> SCREEN_LICENSE_FILES = COPYING
> --
> 2.47.3
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2026-07-17 15:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-12 11:05 [Buildroot] [PATCH 1/1] package/screen: security bump to version 5.0.2 Bernd Kuhls
2026-07-12 13:22 ` Fiona Klute via buildroot
2026-07-17 15:47 ` Thomas Perale via buildroot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260717154739.192324-1-thomas.perale@mind.be \
--to=buildroot@buildroot.org \
--cc=bernd@kuhls.net \
--cc=thomas.perale@mind.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox