aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2015-02-02 10:00:45 -0500
committerBruce Momjian <bruce@momjian.us>2015-02-02 10:00:49 -0500
commit56d2bee9db219b21592c6fef9d29ce1d5e3c6c59 (patch)
treecfbcac0eb0fecfb334733aa2134e883b62a27af1 /src/backend/tcop/postgres.c
parent1628a0bbfa2e30cd52daaa3ae78961d301adad2f (diff)
downloadpostgresql-56d2bee9db219b21592c6fef9d29ce1d5e3c6c59.tar.gz
postgresql-56d2bee9db219b21592c6fef9d29ce1d5e3c6c59.zip
to_char(): prevent writing beyond the allocated buffer
Previously very long localized month and weekday strings could overflow the allocated buffers, causing a server crash. Reported and patch reviewed by Noah Misch. Backpatch to all supported versions. Security: CVE-2015-0241
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions