diff options
author | Bruce Momjian <bruce@momjian.us> | 2015-02-02 10:00:45 -0500 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2015-02-02 10:00:45 -0500 |
commit | 9241c84cbcb82174a7d986242f233aa6472c1129 (patch) | |
tree | 3d3dfd5483951010e7a68f3f5d6993a2da508d4a /contrib/intarray/_intbig_gist.c | |
parent | 0150ab567bcf5e5913e2b62a1678f84cc272441f (diff) | |
download | postgresql-9241c84cbcb82174a7d986242f233aa6472c1129.tar.gz postgresql-9241c84cbcb82174a7d986242f233aa6472c1129.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 'contrib/intarray/_intbig_gist.c')
0 files changed, 0 insertions, 0 deletions