Menu

#73 zip fails with non-latin unicode

v1.0 (example)
open
nobody
None
5
2024-05-29
2024-05-27
newhoa
No
touch filenÆme
zip z.zip filenÆme

results in:

*** buffer overflow detected ***: terminated


zip error: Interrupted (aborting)

Reported here on Red Hat bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=2165653

Red Hat patch:
https://bugzilla.redhat.com/attachment.cgi?id=1961637&action=diff

Also reported here on the Ubuntu bug tracker. I first noticed this on Ubuntu and tried compiling from source and got the same error. The above Red Hat patch fixes the issue for me, but I don't know zip/info-zip source so I don't know if this would affect any other part of zip/unzip.

Discussion

  • newhoa

    newhoa - 2024-05-27
    Post awaiting moderation.
  • Paul Marquess

    Paul Marquess - 2024-05-29

    Thanks for the bug report!

    The Red Hat fix is present in the development version of zip.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.