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

From heikki@postgresql.org (Heikki Linnakangas)
Subject pgsql: Fix off-by-one bug in bitncmp(): When comparing a number of bits
Date
Msg-id 20091008044621.A4A91753FB7@cvs.postgresql.org
Whole thread Raw
List 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)

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        network.c (r1.74 -> r1.75)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/network.c?r1=1.74&r2=1.75)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Update plhandler.sgml to describe validators and inline handlers
Next
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Fix off-by-one bug in bitncmp(): When comparing a number of bits