[Bug 2062535] Re: zip fails when filenames contain unicode characters

Stefan 2062535 at bugs.launchpad.net
Thu Aug 22 06:02:44 UTC 2024


I downloaded the sources from Oracular
(https://packages.ubuntu.com/source/oracular/zip), applied patch from
Fedora
(https://src.fedoraproject.org/rpms/zip/raw/rawhide/f/buffer_overflow.patch,
Red Hat has the same -
https://bugzilla.redhat.com/attachment.cgi?id=1961637&action=diff) and
built the package.

The bug is gone.

I attached a debdiff for that (without increased changelog).

** Patch added: "debdiff-buffer-overflow-patch-3.0-14.diff"
   https://bugs.launchpad.net/ubuntu/+source/zip/+bug/2062535/+attachment/5807876/+files/debdiff-buffer-overflow-patch-3.0-14.diff

-- 
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/2062535

Title:
  zip fails when filenames contain unicode characters

Status in zip package in Ubuntu:
  Triaged

Bug description:
  Steps to reproduce: command line
  $ touch ä
  $ zip x.zip ä

  will result in

  > *** buffer overflow detected ***: terminated
  > 
  > 
  > zip error: Interrupted (aborting)

  cf. https://bugzilla.redhat.com/show_bug.cgi?id=2165653

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: zip 3.0-13build1
  Uname: Linux 6.8.6-060806-generic x86_64
  ApportVersion: 2.28.1-0ubuntu1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: XFCE
  Date: Fri Apr 19 12:34:09 2024
  SourcePackage: zip
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list