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-0002UY-LO@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_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/67f6e645e7acf356abb1b914a1d8536708ec0f67

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