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:49 -0500
commit1628a0bbfa2e30cd52daaa3ae78961d301adad2f (patch)
treec3f60163366d32652ca6f199dca0230da3af6ea4 /src/backend/tcop/postgres.c
parente87dedc0c492a4dcc45ec4e424027a1180d7ebb6 (diff)
downloadpostgresql-1628a0bbfa2e30cd52daaa3ae78961d301adad2f.tar.gz
postgresql-1628a0bbfa2e30cd52daaa3ae78961d301adad2f.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