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

Michael Meskes <meskes@postgresql.org>

Commit: 67f6e645e7acf356abb1b914a1d8536708ec0f67
Author: Michael Meskes <meskes@postgresql.org>
Date: 2019-04-11T19:06:10Z
Releases: 9.5.17
Fix off-by-one check that can lead to a memory overflow in ecpg.

Patch by Liu Huailing <liuhuailing@cn.fujitsu.com>

Files

PathChange+/−
src/interfaces/ecpg/preproc/pgc.l modified +1 −1