aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2015-02-02 10:00:44 -0500
committerBruce Momjian <bruce@momjian.us>2015-02-02 10:00:50 -0500
commitb8b5801478e9cdd1c74bd392017b944dcc0891dc (patch)
treee2b16d3568c85c4e5e224c05e5bff71d68f14e8a /src/backend/tcop/postgres.c
parentfa06ce595a7a955c3f1f6dbaada71a204f6c7724 (diff)
downloadpostgresql-b8b5801478e9cdd1c74bd392017b944dcc0891dc.tar.gz
postgresql-b8b5801478e9cdd1c74bd392017b944dcc0891dc.zip
to_char(): prevent accesses beyond the allocated buffer
Previously very long field masks for floats could access memory beyond the existing buffer allocated to hold the result. Reported by Andres Freund and Peter Geoghegan. Backpatch to all supported versions. Security: CVE-2015-0241
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions