pgsql: Fix off-by-one bug in bitncmp(): When comparing a number of bits

From: heikki(at)postgresql(dot)org (Heikki Linnakangas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix off-by-one bug in bitncmp(): When comparing a number of bits
Date: 2009-10-08 04:46:52
Message-ID: 20091008044652.45FED753FB7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix off-by-one bug in bitncmp(): When comparing a number of bits divisible by
8, bitncmp() may dereference a pointer one byte out of bounds.

Chris Mikkelson (bug #5101)

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
pgsql/src/backend/utils/adt:
network.c (r1.56 -> r1.56.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/network.c?r1=1.56&r2=1.56.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2009-10-08 04:46:59 pgsql: Fix off-by-one bug in bitncmp(): When comparing a number of bits
Previous Message Heikki Linnakangas 2009-10-08 04:46:44 pgsql: Fix off-by-one bug in bitncmp(): When comparing a number of bits