Rainer Jung <rainer.jung@kippdata.de>


Found
r1694533, r1495063

r1694533 | stefan2 | 2015-08-06 11:10:39 -0500 (Thu, 06 Aug 2015)

[reverted in r1694533]
Fix an alignment problem on machines with 32 bit pointers but atomic 64
data access that may not be misaligned.

* subversion/libsvn_ra_svn/marshal.c
  (read_item): Ensure that the array contents are always have the APR
               default alignment.

Found by: Rainer Jung <rainer.jung{_AT_}kippdata.de>

r1495063 | stsp | 2013-06-20 10:53:32 -0500 (Thu, 20 Jun 2013)

* subversion/libsvn_fs_fs/tree.c
  (cache_lookup): Calculate hash_value in an alternative way on
  strict-alignment architectures, such as Solaris/sparc. Wrap the current
  calculation in SVN_UNALIGNED_ACCESS_IS_OK to ensure that it is only
  used on platforms which support unaligned access.

Found by: Rainer Jung <rjung@apache.org>
Thanks to Sergey Raevskiy for spotting a bug in my initial patch.