Add tests to enlargeStringInfo() to avoid possible buffer-overrun or

Tom Lane <tgl@sss.pgh.pa.us>

Commit: a2160c5eeb9c6457dc2da5f7a406dee182e302c4
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2004-05-11T20:07:26Z
Releases: 8.0.0
Add tests to enlargeStringInfo() to avoid possible buffer-overrun or
infinite-loop problems if a bogus data length is passed.

Files

PathChange+/−
src/backend/lib/stringinfo.c modified +23 −1