]> granicus.if.org Git - sysstat/commit
Revert "Fix #148: ARM: sadc crashes because of unaligned memory accesses"
authorSebastien GODARD <sysstat@users.noreply.github.com>
Mon, 10 Jul 2017 14:59:09 +0000 (16:59 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Mon, 10 Jul 2017 15:11:19 +0000 (17:11 +0200)
commit0075e909add775a9223751b29e340b5ef10fec80
treec0924806b1ff5b00363ed2bd7b6ce31e764ef25a
parentc80151886713a7083a3b402de6754e9e15f04039
Revert "Fix #148: ARM: sadc crashes because of unaligned memory accesses"

This reverts commit 569378eb1a3be23cdb45ac5d39e354683a7748f8.
Proposed fix for #148 "sadc crashes because of unaligned memory access"
doesn't work properly:
Copying old pointer contents to new pointer destination uses the size of
the memory pointed to by the newly allocated pointer... which is not the
size of the memory the old pointer was pointing to. The result is you
may get a segmentation fault in some cases.
So for now, revert the corresponding patch, awaiting a better solution.
common.h