ecpg: Fix off-by-one error in memory copying

Peter Eisentraut <peter_e@gmx.net>

Commit: 3043608cf72b0abd8b022034080f44cc29ff0cf5
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2012-03-10T23:03:09Z
Releases: 9.1.4
ecpg: Fix off-by-one error in memory copying

In a rare case, one byte past the end of memory belonging to the
sqlca_t structure would be written to.

found by Coverity

Files

PathChange+/−
src/interfaces/ecpg/ecpglib/misc.c modified +1 −1