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.
varbit.c (r1.26 -> r220.127.116.11)
pgsql-committers by date
|Next:||From: Tom Lane||Date: 2007-08-21 03:14:36|
|Subject: pgsql: Fix money type's send/receive functions to conform to recent |
|Previous:||From: Tom Lane||Date: 2007-08-21 02:40:33|
|Subject: pgsql: Fix potential access-off-the-end-of-memory in varbit_out(): it |