Hi, I've also encountered this problem. I've attached a patch with a utf-8 character in a filename which gives the same "buffer overflow" error.
I believe this is resolved in diffstat 1.68, but I'm experiencing this with diffstat_1.66-1build1 from Noble. It would be good to get an updated package for Noble. In the meantime, using "LANG=C" appears to be sufficient to avoid the problematic code. Here's a couple of issues elsewhere that seem to identify the problem: https://bugzilla.redhat.com/show_bug.cgi?id=2362049 and https://sourceware.org/bugzilla/show_bug.cgi?id=32899 ** Bug watch added: Red Hat Bugzilla #2362049 https://bugzilla.redhat.com/show_bug.cgi?id=2362049 ** Bug watch added: Sourceware.org Bugzilla #32899 https://sourceware.org/bugzilla/show_bug.cgi?id=32899 ** Attachment added: "diffstat.input" https://bugs.launchpad.net/ubuntu/+source/diffstat/+bug/2068762/+attachment/5883705/+files/diffstat.input -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2068762 Title: diffstat assert failure: *** buffer overflow detected ***: terminated To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/diffstat/+bug/2068762/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs