Using the zip command, I am sometimes getting the following error:
*** buffer overflow detected ***: terminated
Some file names in the material being backed up contain sight single quotation marks, (ascii code E2 80 99). This is only a problem when using zip on ubuntu 24.04. It works on ubuntu 22.04.
As a work-around
In my case the command (run from directory /usr/bin) was
ls -s /usr/local/bin/zip zip
Using this older version I generated a zip file which, unzipped on 24.04 compared exactly with the original material - in short it works.