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

Michael Meskes <meskes@postgresql.org>

Commit: 0ba09cc026985536586b7fd58ceddee16ea739d7
Author: Michael Meskes <meskes@postgresql.org>
Date: 2019-04-11T19:04:37Z
Releases: 11.3
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