Add range checks to time_recv() and timetz_recv(), to prevent binary input
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 May 2009 01:29:09 +0000 (01:29 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 26 May 2009 01:29:09 +0000 (01:29 +0000)
commitf064d5167b03b9723eab97d33eb19f369de5bd23
treeb4906e8a34ffc4d8217a9d404e4b78750488ea33
parent8945d30a1502c90a3485b23803d031a92313fa97
Add range checks to time_recv() and timetz_recv(), to prevent binary input
of time values that would not be accepted via textual input.
Per gripe from Andrew McNamara.

This is potentially a back-patchable bug fix, but for the moment it doesn't
seem sufficiently high impact to justify doing that.
src/backend/utils/adt/date.c