[Pkg-utopia-maintainers] Bug#567534: Bug in libnl1
Jochen Friedrich
jochen at scram.de
Tue Oct 12 15:52:16 UTC 2010
reassign 567534 libnl1 <mailto:567534 at bugs.debian.org>
thanks
The bug is really in libnl1. It's caused by an unaligned 64bit access.
This patch fixes the problem:
--- libnl-1.1.orig/include/linux/if_link.h
+++ libnl-1.1/include/linux/if_link.h
@@ -40,9 +40,9 @@
/* The struct should be in sync with struct ifmap */
struct rtnl_link_ifmap
{
- __u64 mem_start;
- __u64 mem_end;
- __u64 base_addr;
+ __u64 mem_start __attribute__((packed));
+ __u64 mem_end __attribute__((packed));
+ __u64 base_addr __attribute__((packed));
__u16 irq;
__u8 dma;
__u8 port;
Thanks,
Jochen
More information about the Pkg-utopia-maintainers
mailing list