Fix off-by-one check that can lead to a memory overflow in ecpg.
authorMichael Meskes
Thu, 11 Apr 2019 18:56:17 +0000 (20:56 +0200)
committerMichael Meskes
Thu, 11 Apr 2019 19:06:21 +0000 (21:06 +0200)
commit12c42a543ac80f44e02173c2d6d51ffe18de2703
tree3b4127b006338448ed20e98d063824bf9287b20d
parentf4daf89582196596b947b9be96394a1f63a986dc
Fix off-by-one check that can lead to a memory overflow in ecpg.

Patch by Liu Huailing 
src/interfaces/ecpg/preproc/pgc.l