From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix the new ARMv8 CRC code for short and unaligned input. |
Date: | 2018-04-04 11:40:46 |
Message-ID: | E1f3gmU-0007bN-VB@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/3a5e0a91bb324ad2b2b1a0623a3f2e37772b43fc
Modified Files
--------------
src/port/pg_crc32c_armv8.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Banck | 2018-04-04 12:19:30 | Re: pgsql: Validate page level checksums in base backups |
Previous Message | Magnus Hagander | 2018-04-04 09:38:35 | Re: pgsql: Validate page level checksums in base backups |