Thanks for taking your time to report this issue and help making Ubuntu better.
I was able to reproduce this issue by attempting to run recode 3.6-23 on a very long file name on Ubuntu Cosmic. I also found what I believe to be a corresponding Debian bug report, so I have attached a bug watch. ** Bug watch added: Debian Bug tracker #754945 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754945 ** Also affects: recode (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754945 Importance: Unknown Status: Unknown ** Changed in: recode (Ubuntu) Status: New => Confirmed ** Tags added: cosmic -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to recode in Ubuntu. https://bugs.launchpad.net/bugs/1785336 Title: recode dumps core if filename >= 200 characters Status in recode package in Ubuntu: Confirmed Status in recode package in Debian: Unknown Bug description: If a filename has 200 or more characters, recode aborts, dumping core. To reproduce: 1. Generate a filename with 200 characters: paulo:~/tmp$ file=$(printf 'f%.0s' {1..200}) 2. Create a file with this name: paulo:~/tmp$ echo ã >$file 3. Try to recode this file: paulo:~/tmp$ recode -v u8..latin1 $file Request: UTF-8..:libiconv:..ISO-8859-1 Shrunk to: UTF-8..ISO-8859-1 *** buffer overflow detected ***: recode terminated Aborted (core dumped) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: recode 3.6-23 ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18 Uname: Linux 4.15.0-29-generic x86_64 ApportVersion: 2.20.9-0ubuntu7.2 Architecture: amd64 CurrentDesktop: XFCE Date: Fri Aug 3 19:09:07 2018 Dependencies: gcc-8-base 8-20180414-1ubuntu2 libc6 2.27-3ubuntu1 libgcc1 1:8-20180414-1ubuntu2 librecode0 3.6-23 InstallationDate: Installed on 2018-04-28 (97 days ago) InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: recode UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/recode/+bug/1785336/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

