]> granicus.if.org Git - postgresql/commit
Tighten up overflow check in path_recv, pursuant to code review inspired
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 12 May 2004 22:39:00 +0000 (22:39 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 12 May 2004 22:39:00 +0000 (22:39 +0000)
commit65924e6cc6048667a6d1c0ddf33cce76881b226b
treec5829424a451048f7d5e9d3a2b11cda5a3fcb917
parent5e027b19cd79c944a3fb1b9024745d563c9e57cb
Tighten up overflow check in path_recv, pursuant to code review inspired
by Ken Ashcraft's report.  I think there is no actual bug here since if
the int32 value does wrap a little bit, palloc will still reject it.
Still it's better that the code be obviously correct.
src/backend/utils/adt/geo_ops.c