OSDN Git Service

Add tests to enlargeStringInfo() to avoid possible buffer-overrun or
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 May 2004 20:07:26 +0000 (20:07 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 11 May 2004 20:07:26 +0000 (20:07 +0000)
commita2160c5eeb9c6457dc2da5f7a406dee182e302c4
tree48227f49747c0e3be62ac6f4a83fa75b3c0361ce
parent5ddbe904c0f6d0dc67597b43b7823cc54300b638
Add tests to enlargeStringInfo() to avoid possible buffer-overrun or
infinite-loop problems if a bogus data length is passed.
src/backend/lib/stringinfo.c