[konsole] [Bug 498207] New: Instance of a corrupted image with kitty and iterm2 protocol
Henner Zeller
bugzilla_noreply at kde.org
Fri Jan 3 14:14:47 GMT 2025
https://bugs.kde.org/show_bug.cgi?id=498207
Bug ID: 498207
Summary: Instance of a corrupted image with kitty and iterm2
protocol
Classification: Applications
Product: konsole
Version: 24.12.0
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: konsole-devel at kde.org
Reporter: h.zeller at acm.org
Target Milestone: ---
Created attachment 177070
--> https://bugs.kde.org/attachment.cgi?id=177070&action=edit
A tar file with the original and (kitty and iterm2)-encoded form, as well as a
screenshot
SUMMARY
The image in the attached tar file is corrupted when emitted on konsole. Tested
with 24.12.0, but also verified with an older (23.08.x version). (I am on NixOS
if that is relevant)
STEPS TO REPRODUCE
1. Unpack tar file. It contains the same image in multiple forms; the
*-encoded.cat contain kitty and iterm2 encoded images, so can be directly
cat-ed to the terminal.
2. cat bug/kitty-encoded-bug.cat bug/iterm2-encoded-bug.cat
OBSERVED RESULT
The output looks garbled and not in the right aspect ratio. I've added a
screenshot bug/garbled-output-screenshot.png how it looks on my machine.
EXPECTED RESULT
The expected output should look like bug/original-image.png
SOFTWARE/OS VERSIONSLinux/KDE Plasma: NixOS on plasma 6 and 5
ADDITIONAL INFORMATION
The corresponding images look correct on other terminals; e.g. catting the
bug/kitty-encoded-bug.cat on a kitty terminal shows the correct image.
I am maintaining https://timg.sh/ and I discovered it during some manual
testing.
I suspect there is some buffer overflow corruption going on, so this might as
well be a security issue.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list