zip buffer overflow detected with umlaut o (ö) in the filename
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zip (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
# Umlaut o in filename causes buffer overflow error.
# This is in 24.04. Problem does not occur with binary from
# 22.04 run on same 24.04 system.
# Tested on two separate installs of 24.04 (One Thinkpad T470s, one Thinkpad T450)
# I have tried apt-get install --reinstall
# Example
$ touch ö
$ zip -9r o.zip ö
*** buffer overflow detected ***: terminated
zip error: Interrupted (aborting)
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: zip 3.0-13build1
ProcVersionSign
Uname: Linux 6.8.0-35-generic x86_64
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: KDE
Date: Sat Jun 22 13:09:57 2024
InstallationDate: Installed on 2024-03-05 (109 days ago)
InstallationMedia: Kubuntu 23.10 "Mantic Minotaur" - Release amd64 (20231010)
ProcEnviron:
LANG=en_GB.UTF-8
LANGUAGE=en_GB:en
PATH=(custom, no user)
SHELL=/bin/bash
XDG_RUNTIME_
SourcePackage: zip
UpgradeStatus: Upgraded to noble on 2024-05-12 (41 days ago)
hash of the zip binary with this issue 417a00df7b99d06 b6bc203d7fd293a f8e6ee7b88d4a60 cb08 /usr/bin/zip
8a3e81e6e12455d