Обсуждение: pgsql: ecpg: Fix off-by-one error in memory copying

Поиск
Список
Период
Сортировка

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

От
Peter Eisentraut
Дата:
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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c5e073ca2deec1595e4fdd748f14fcb4122e8faf

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