• Bruce Momjian's avatar
    to_char(): prevent writing beyond the allocated buffer · 9241c84c
    Bruce Momjian authored
    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
    9241c84c
formatting.c 132 KB