Skip site navigation (1) Skip section navigation (2)

pgsql: ecpg: Fix off-by-one error in memory copying

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: ecpg: Fix off-by-one error in memory copying
Date: 2012-03-11 00:05:59
Message-ID: E1S6WIR-000371-C7@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
ecpg: Fix off-by-one error in memory copying

In a rare case, one byte past the end of memory belonging to the
sqlca_t structure would be written to.

found by Coverity

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/3043608cf72b0abd8b022034080f44cc29ff0cf5

Modified Files
--------------
src/interfaces/ecpg/ecpglib/misc.c |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

pgsql-committers by date

Next:From: Tatsuo IshiiDate: 2012-03-11 10:19:33
Subject: pgsql: Add description for --no-locale and --text-search-config.
Previous:From: Tom LaneDate: 2012-03-10 23:37:07
Subject: pgsql: Restructure SPGiST opclass interface API to supportwhole-index

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group