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:50 -0500
commitfe2526990b821efb9452fa8601ee216a487202ff (patch)
treeb9f284cf66c63e9ff0812fa6a80947993ffdbc62 /src/backend/tcop/postgres.c
parentb8b5801478e9cdd1c74bd392017b944dcc0891dc (diff)
downloadpostgresql-fe2526990b821efb9452fa8601ee216a487202ff.tar.gz
postgresql-fe2526990b821efb9452fa8601ee216a487202ff.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