Thanks to visit codestin.com
Credit goes to postgrespro.com

pgsql: Fix potential access-off-the-end-of-memory in varbit_out(): it - Mailing list pgsql-committers

From [email protected] (Tom Lane)
Subject pgsql: Fix potential access-off-the-end-of-memory in varbit_out(): it
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix potential access-off-the-end-of-memory in varbit_out(): it fetched the
byte after the last full byte of the bit array, regardless of whether that
byte was part of the valid data or not.  Found by buildfarm testing.
Thanks to Stefan Kaltenbrunner for nailing down the cause.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        varbit.c (r1.44 -> r1.44.4.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/varbit.c?r1=1.44&r2=1.44.4.1)

pgsql-committers by date:

Previous
From: [email protected] (Tom Lane)
Date:
Subject: pgsql: Fix potential access-off-the-end-of-memory in varbit_out(): it
Next
From: [email protected] (Tom Lane)
Date:
Subject: pgsql: Fix potential access-off-the-end-of-memory in varbit_out(): it