Align fw_handle buffer for 64-bit access

Align fw_handle buffer for 64-bit access. This fixes SIGBUS on SPARC
when capturing DV stream with "dvgrab".

[Stefan R:  If libraw1394 is compiled for 32 bit userland, struct
fw_handle.buffer was only 32 bit aligned.  Various *__u64 accesses
happen to the buffer, and those accesses require 64 bit alignment on
some CPU architectures.  The bug certainly affected all libraw1394
client applications on such architectures with 32 bit userland.]

Signed-off-by: Aaro Koskinen <>
Signed-off-by: Stefan Richter <>
1 file changed