• Bruce Momjian's avatar
    to_char(): prevent accesses beyond the allocated buffer · 0150ab56
    Bruce Momjian authored
    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
    0150ab56
formatting.c 129 KB