]> git.nega.tv - josh/narcissus/commit
narcissus-core: Fix potentially misaligned pointer
authorJoshua Simmons <josh@nega.tv>
Sun, 9 Jul 2023 17:53:59 +0000 (19:53 +0200)
committerJoshua Simmons <josh@nega.tv>
Sun, 9 Jul 2023 22:08:43 +0000 (00:08 +0200)
commitb9dc40f8a3c2f14fecb9d75152d60d26e459f86b
treecbdc2094ac1c15f0c8f465c435f02a089d5128b2
parent1f465e96d33a2721da3c7d69d58fa3071d04c0a7
narcissus-core: Fix potentially misaligned pointer

If `new_page_size` was not aligned to the size of PageFooter, then we
could create misaligned references to the PageFooter.
libs/narcissus-core/src/arena.rs