]> granicus.if.org Git - postgresql/commit
Repair problems with overrun of timezone name length. Increase MAXTZLEN
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 May 2000 19:16:57 +0000 (19:16 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 May 2000 19:16:57 +0000 (19:16 +0000)
commit22a517a40c29ec421db8ebd8b1eb17e50b76b406
tree10b00ec5ab4eaa84efe85e0072711b80d0414b1a
parentf089c36419adcfc23b3a83560dc67633b1e7b939
Repair problems with overrun of timezone name length.  Increase MAXTZLEN
to 10, and be consistent about whether it counts the trailing null (it
does not).  Also increase MAXDATELEN to be sure no buffer overflows are
caused by the longer MAXTZLEN.
src/backend/utils/adt/datetime.c
src/backend/utils/adt/nabstime.c
src/include/miscadmin.h
src/include/utils/datetime.h