Fix the new ARMv8 CRC code for short and unaligned input.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 3a5e0a91bb324ad2b2b1a0623a3f2e37772b43fc
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2018-04-04T11:40:39Z
Releases: 11.0
Fix the new ARMv8 CRC code for short and unaligned input.

The code before the main loop, to handle the possible 1-7 unaligned bytes
at the beginning of the input, was broken, and read past the input, if the
the input was very short.

Files

PathChange+/−
src/port/pg_crc32c_armv8.c modified +3 −3