]> arthur.barton.de Git - bup.git/commit
_helpers.c: be careful about memory alignment in bloom operations.
authorJulien Cristau <jcristau@debian.org>
Thu, 8 Aug 2013 22:30:26 +0000 (18:30 -0400)
committerRob Browning <rlb@defaultvalue.org>
Sun, 11 Aug 2013 20:04:24 +0000 (15:04 -0500)
commit123b0f91fa758ef0ff611eb38af4f8a3e737627a
tree8d841c3c0f569e178028eced9f2c6d02b848d33c
parent76a2d6ebd32beed1d53b470a9bb9476f4d1306f4
_helpers.c: be careful about memory alignment in bloom operations.

Debian (Bug#641488) discovered via the bloom test that bup crashes on
sparc because it's trying to access unaligned memory.  Fix that.

Signed-off-by: Julien Cristau <jcristau@debian.org>
[rlb@defaultvalue.org: adjust commit message.]
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/_helpers.c