pgsql: Fix off-by-one check that can lead to a memory overflow inecpg. - Mailing list pgsql-committers

From Michael Meskes
Subject pgsql: Fix off-by-one check that can lead to a memory overflow inecpg.
Date
Msg-id E1hEf1w-0002UW-L8@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix off-by-one check that can lead to a memory overflow in ecpg.

Patch by Liu Huailing <liuhuailing@cn.fujitsu.com>

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/77300684867f93aebd29de106f8adcf0797bcb21

Modified Files
--------------
src/interfaces/ecpg/preproc/pgc.l | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Remove duplicative polygon SP-GiST sequencing test.
Next
From: Tom Lane
Date:
Subject: pgsql: Move plpgsql error-trapping tests to a new module-specifictest