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.54 -> r1.55)
pgsql-committers by date
|Next:||From: Tom Lane||Date: 2007-08-21 02:40:12|
|Subject: pgsql: Fix potential access-off-the-end-of-memory in varbit_out(): it |
|Previous:||From: Tom Lane||Date: 2007-08-21 01:47:19|
|Subject: pgsql: Suppress uninitialized-variable warning.|