Notes from the Debian bug: On Sat, 2011-11-26 at 10:14 -0800, Keith Packard wrote: Package: nickle > Version: 2.71-1 > > On Sat, 26 Nov 2011 08:46:20 -0800, Kamal Mostafa <ka...@canonical.com> wrote: > > Michael Terry's strncpy patch is still probably a good idea though, so > > leaving this bug open for maintainer review. > > No, strncpy is wrong -- it doesn't copy the trailing '\0' byte. You > could use memcpy (adding one to length) if desired, but I don't see the > point; the code already 'trusts' the incoming string length. > > In any case, the root cause of the bug was fixed by using 0-length > arrays at the end of various structs for variable-sized allocations.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/721636 Title: nickle crashes on amd64 natty To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nickle/+bug/721636/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs