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-0002US-Kk@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_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0ba09cc026985536586b7fd58ceddee16ea739d7

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