Bug 2110065

Summary: Certain ANSI sequences crash foot
Product: [Fedora] Fedora Reporter: Gergely Polonkai <gergely>
Component: footAssignee: Aleksei Bavshin <alebastr89>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: alebastr89
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: foot-1.13.0-1.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-16 01:28:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gergely Polonkai 2022-07-23 05:52:36 UTC
Description of problem:

When using certain ANSI sequences, foot crashes.

Version-Release number of selected component (if applicable):

1.21.1-1.fc36

Steps to Reproduce:
1. Start foot
2. echo -e '\e[38;5;16777215m TEST TEST \e[m'

Actual results:

foot crashes

Expected results:

foot doesn’t crash, but maybe prints TEST TEST in some default colours

Additional info:

Upstream fix exists, but not merged yet: https://codeberg.org/dnkl/foot/issues/1111

Comment 1 Fedora Update System 2022-08-07 15:07:04 UTC
FEDORA-2022-5de9e7dd7b has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-5de9e7dd7b

Comment 2 Fedora Update System 2022-08-08 01:09:39 UTC
FEDORA-2022-5de9e7dd7b has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-5de9e7dd7b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-5de9e7dd7b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Gergely Polonkai 2022-08-08 07:27:34 UTC
The fix works for me, as installed from the updates-testing repo.

Comment 4 Fedora Update System 2022-08-16 01:28:49 UTC
FEDORA-2022-5de9e7dd7b has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.