powerpc: Fix powerpc32/power7 memchr for large input sizes
The same error fixed in commit b2246379 happens in the 32-bit implementation of memchr for power7. This patch adopts the same solution, with a minimal change: it implements a saturated addition where overflows sets the maximum pointer size to UINTPTR_MAX.
Loading
Please register or sign in to comment