Thread: pgsql-server/src/backend/utils/adt geo_ops.c

pgsql-server/src/backend/utils/adt geo_ops.c

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    04/05/12 19:38:44

Modified files:
    src/backend/utils/adt: geo_ops.c

Log message:
    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.