pgsql: Fix potential memory access violation in ecpg if filename of inc

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix potential memory access violation in ecpg if filename of inc
Date: 2019-03-11 15:27:08
Message-ID: E1h3MpY-0000LB-6s@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix potential memory access violation in ecpg if filename of include file is
shorter than 2 characters.

Patch by: "Wu, Fei" <wufei(dot)fnst(at)cn(dot)fujitsu(dot)com>

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8cdce0a455ff885e99d672dbd8edbd217d68139f

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 Alvaro Herrera 2019-03-11 16:25:25 pgsql: Move hash_any prototype from access/hash.h to utils/hashutils.h
Previous Message Tom Lane 2019-03-11 15:25:38 pgsql: In guc.c, ignore ERANGE errors from strtod().