pgsql: Fix off-by-one check that can lead to a memory overflow in ecpg.

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix off-by-one check that can lead to a memory overflow in ecpg.
Date: 2019-04-11 19:06:36
Message-ID: E1hEf1w-0002UY-LO@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix off-by-one check that can lead to a memory overflow in ecpg.

Patch by Liu Huailing <liuhuailing(at)cn(dot)fujitsu(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2019-04-11 19:09:45 pgsql: Move plpgsql error-trapping tests to a new module-specific test
Previous Message Tom Lane 2019-04-11 18:35:54 pgsql: Remove duplicative polygon SP-GiST sequencing test.