Follow-up Comment #3, bug #66215 (group screen):

I can reproduce this locally on both Arch and Fedora 39 when I build screen
from git with CFLAGS="-g -O2 -Wp,-D_FORTIFY_SOURCE=3":


$ cat /etc/fedora-release 
Fedora release 39 (Thirty Nine)
$ git log -1 --oneline
9d8b0ff (HEAD -> master, tag: v.5.0.0, origin/master, origin/HEAD) Release
v.5.0.0
$ ./autogen.sh
$ CFLAGS="-g -O2 -Wp,-D_FORTIFY_SOURCE=3" ./configure
...
$ CFLAGS="-g -O2 -Wp,-D_FORTIFY_SOURCE=3" make -j $(nproc)
...
$ ./screen -S test
# Detach from this one
[detached from 101416.test]
$ ./screen -S test -X -r echo hello
*** buffer overflow detected ***: terminated
Aborted (core dumped)
-verbatim+


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66215>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to