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-0002UU-Ki@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
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e7e71b9e1ecb8cb6eb490b0c82bdc5aa9604368b

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