[Bug 2070098] Re: zip buffer overflow detected with umlaut o (ö) in the filename

Olivier Berger 2070098 at bugs.launchpad.net
Fri Oct 11 16:47:28 UTC 2024


I think this is fixed in forecoming 3.0-14 on Debian... or linked to
some difference between Debian build and Ubuntu's

Just tested:
$ touch ö
$ LANG=C zip -9r o.zip ö
  adding: ö (stored 0%)

Without any crash...

Hope this helps,

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to zip in Ubuntu.
https://bugs.launchpad.net/bugs/2070098

Title:
  zip buffer overflow detected with umlaut o (ö) in the filename

Status in zip package in Ubuntu:
  Confirmed

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
  ProcVersionSignature: Ubuntu 6.8.0-35.35-generic 6.8.4
  Uname: Linux 6.8.0-35-generic x86_64
  ApportVersion: 2.28.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: unknown
  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_DIR=<set>
  SourcePackage: zip
  UpgradeStatus: Upgraded to noble on 2024-05-12 (41 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zip/+bug/2070098/+subscriptions




More information about the foundations-bugs mailing list