URL: <https://savannah.gnu.org/bugs/?66142>
Summary: Buffer overflow when using "-X stuff" in previously-working script Group: GNU Screen Submitter: None Submitted: Thu 29 Aug 2024 05:22:47 PM UTC Category: Crash/Freeze/Infloop Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Release: 5.0.0 Fixed Release: None Planned Release: None Work Required: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Thu 29 Aug 2024 05:22:47 PM UTC By: Anonymous I have a script using screen which previously was working, but after upgrade to 5.0.0, now causes a buffer overflow. The command sequence is as follows: > screen -dmS dash screen -S dash -X stuff "cd ~/Code/go/src/github.com/albeec13/dashhandler/ go run *.go " This was previously working, but now results in this output: >*** buffer overflow detected ***: terminated Aborted (core dumped) As a test, I reduced the string further, and found that even this crashes: >screen -S dash -X stuff "ls" *** buffer overflow detected ***: terminated Aborted (core dumped) This is on an up-to-date Arch linux system running the latest screen package from upstream 5.0.0. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?66142> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
signature.asc
Description: PGP signature