Fix the new ARMv8 CRC code for short and unaligned input.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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
| Path | Change | +/− |
|---|---|---|
| src/port/pg_crc32c_armv8.c | modified | +3 −3 |