summaryrefslogtreecommitdiff
path: root/src/timezone/strftime.c
diff options
context:
space:
mode:
authorBruce Momjian2015-02-02 15:00:44 +0000
committerBruce Momjian2015-02-02 15:00:44 +0000
commit0150ab567bcf5e5913e2b62a1678f84cc272441f (patch)
treebdd4ee0ee72e00a46ad571cec52f63ccf00a3f32 /src/timezone/strftime.c
parentf9ee8ea10a432bd5692ef9ff25055717fbf290ce (diff)
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/timezone/strftime.c')
0 files changed, 0 insertions, 0 deletions