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

Michael Meskes <meskes@postgresql.org>

Commit: 77300684867f93aebd29de106f8adcf0797bcb21
Author: Michael Meskes <meskes@postgresql.org>
Date: 2019-04-11T19:05:59Z
Releases: 9.6.13
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