Skip to content

Commit

Permalink
use screen v4 to fix buffer overflow issue
Browse files Browse the repository at this point in the history
  • Loading branch information
binhex committed Nov 4, 2024
1 parent de7101f commit e38b871
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build/root/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mv /tmp/scripts-master/shell/arch/docker/*.sh /usr/local/bin/
####

# define pacman packages
pacman_packages="jre8-openjdk-headless jre11-openjdk-headless jre17-openjdk-headless jre-openjdk-headless screen rsync"
pacman_packages="jre8-openjdk-headless jre11-openjdk-headless jre17-openjdk-headless jre-openjdk-headless rsync"

# install compiled packages using pacman
if [[ ! -z "${pacman_packages}" ]]; then
Expand Down Expand Up @@ -87,6 +87,11 @@ cat <<EOF > /home/nobody/.screenrc
termcapinfo xterm* ti@:te@
EOF

# download screen v4 from arch linux archive due to buffer overflow bug reported
# here:- https://gitlab.archlinux.org/archlinux/packaging/packages/screen/-/issues/2
curl -o /tmp/screen.tar.zst -L https://archive.archlinux.org/packages/s/screen/screen-4.9.1-2-x86_64.pkg.tar.zst
pacman -U /tmp/screen.tar.zst --noconfirm

# container perms
####

Expand Down

0 comments on commit e38b871

Please sign in to comment.