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:50 -0500 |
commit | fe2526990b821efb9452fa8601ee216a487202ff (patch) | |
tree | b9f284cf66c63e9ff0812fa6a80947993ffdbc62 /src/backend/tcop/postgres.c | |
parent | b8b5801478e9cdd1c74bd392017b944dcc0891dc (diff) | |
download | postgresql-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