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

Michael Meskes <meskes@postgresql.org>

Commit: ed16ba3248d486ec8b2fdfc75e442620d675b617
Author: Michael Meskes <meskes@postgresql.org>
Date: 2019-04-11T18:56:17Z
Releases: 12.0
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