Hi, Attached is the proposed NMU patch. Sebastian, I would appreciate if you could test the final version of fixed packages, available from
http://www.wooyd.org/debian/sshfs/ Thanks, -- Jurij Smakov [EMAIL PROTECTED] Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC
diff -aur fuse-2.5.3-4.1/debian/changelog fuse-2.5.3-4.2/debian/changelog --- fuse-2.5.3-4.1/debian/changelog 2007-01-03 22:24:25.000000000 -0800 +++ fuse-2.5.3-4.2/debian/changelog 2007-01-03 22:36:50.000000000 -0800 @@ -1,3 +1,15 @@ +fuse (2.5.3-4.2) unstable; urgency=low + + * Non-maintainer upload. + * Ensure the correct alignment of the ccmsg array in receive_fd() + from lib/mount.c by declaring it as size_t instead of char and + adjusting the size accordingly. This resolves the issue of + sshfs crashing with SIGBUS on sparc. Thanks to Sebastian Fontius + for debugging and testing, and to Miklos Szeredi for the patch. + (closes: #404904) + + -- Jurij Smakov <[EMAIL PROTECTED]> Wed, 3 Jan 2007 22:29:11 -0800 + fuse (2.5.3-4.1) unstable; urgency=low * Non-maintainer upload. diff -aur fuse-2.5.3-4.1/lib/mount.c fuse-2.5.3-4.2/lib/mount.c --- fuse-2.5.3-4.1/lib/mount.c 2006-02-19 09:19:41.000000000 -0800 +++ fuse-2.5.3-4.2/lib/mount.c 2007-01-03 22:25:51.000000000 -0800 @@ -131,7 +131,7 @@ char buf[1]; int rv; int connfd = -1; - char ccmsg[CMSG_SPACE(sizeof(connfd))]; + size_t ccmsg[CMSG_SPACE(sizeof(connfd))/sizeof(size_t)]; struct cmsghdr *cmsg; iov.iov_base = buf;