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:51 -0500
commit2ceb63deb2db905ac030130705e33d776a28472a (patch)
tree4122eed1d89bf193616516baebc5745e17cfbbc4 /src/backend/tcop/postgres.c
parent037529a11c96a09c85b8bbc443f8301067c0ef22 (diff)
downloadpostgresql-2ceb63deb2db905ac030130705e33d776a28472a.tar.gz
postgresql-2ceb63deb2db905ac030130705e33d776a28472a.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