aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-08-07 18:17:34 +0900
committerMichael Paquier <michael@paquier.xyz>2019-08-07 18:17:34 +0900
commitd8652ec55513260a1ae478f80ae3d7da6eb795e0 (patch)
treeddc349ecda0db4da06a9148bd9c4489e82402e9f /src/backend/access/gist
parent2f76f4182935c56c897463447ae18f8c2308637a (diff)
downloadpostgresql-d8652ec55513260a1ae478f80ae3d7da6eb795e0.tar.gz
postgresql-d8652ec55513260a1ae478f80ae3d7da6eb795e0.zip
Fix some incorrect parsing of time with time zone strings
When parsing a timetz string with a dynamic timezone abbreviation or a timezone not specified, it was possible to generate incorrect timestamps based on a date which uses some non-initialized variables if the input string did not specify fully a date to parse. This is already checked when a full timezone spec is included in the input string, but the two other cases mentioned above missed the same checks. This gets fixed by generating an error as this input is invalid, or in short when a date is not fully specified. Valgrind was complaining about this problem. Bug: #15910 Author: Alexander Lakhin Discussion: https://postgr.es/m/15910-2eba5106b9aa0c61@postgresql.org Backpatch-through: 9.4
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions