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

Michael Meskes <meskes@postgresql.org>

Commit: e7e71b9e1ecb8cb6eb490b0c82bdc5aa9604368b
Author: Michael Meskes <meskes@postgresql.org>
Date: 2019-04-11T19:05:39Z
Releases: 10.8
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