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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: ecpg: Fix off-by-one error in memory copying
Дата
Msg-id E1S6WIR-000378-GW@gemulon.postgresql.org
обсуждение исходный текст
Список 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_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/9ddda5894c940c3a4363a35f6540ac33c31296e0

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: libpq: Fix memory leak
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: psql: Fix invalid memory access