[PATCH] selftests/powerpc: Add test of memcmp at end of page

Michael Ellerman patch-notifications at ellerman.id.au
Fri Jul 24 23:24:56 AEST 2020


On Wed, 22 Jul 2020 15:53:15 +1000, Michael Ellerman wrote:
> Update our memcmp selftest, to test the case where we're comparing up
> to the end of a page and the subsequent page is not mapped. We have to
> make sure we don't read off the end of the page and cause a fault.
> 
> We had a bug there in the past, fixed in commit
> d9470757398a ("powerpc/64: Fix memcmp reading past the end of src/dest").

Applied to powerpc/next.

[1/1] selftests/powerpc: Add test of memcmp at end of page
      https://git.kernel.org/powerpc/c/8ac9b9d61f0eceba6ce571e7527798465ae9a7c5

cheers


More information about the Linuxppc-dev mailing list