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

Michael Meskes <meskes@postgresql.org>

Commit: 12c42a543ac80f44e02173c2d6d51ffe18de2703
Author: Michael Meskes <meskes@postgresql.org>
Date: 2019-04-11T19:06:21Z
Releases: 9.4.22
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