diff options
author | Bruce Momjian | 2015-02-02 15:00:45 +0000 |
---|---|---|
committer | Bruce Momjian | 2015-02-02 15:00:50 +0000 |
commit | e09651e9d90011ff634ac1c10c8e67e3881687c8 (patch) | |
tree | 31185f24ab02c37105a86c5a5f07253f9d8b2d94 /src/interfaces/libpq | |
parent | 5ae3bf1af34082f3b53955053ce11a6f20b1b751 (diff) |
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/interfaces/libpq')
0 files changed, 0 insertions, 0 deletions