• Tom Lane's avatar
    Fix undersized result buffer in pset_quoted_string(). · 9711fa06
    Tom Lane authored
    The malloc request was 1 byte too small for the worst-case output.
    This seems relatively unlikely to cause any problems in practice,
    as the worst case only occurs if the input string contains no
    characters other than single-quote or newline, and even then
    malloc alignment padding would probably save the day.  But it's
    definitely a bug.
    
    David Rowley
    9711fa06
command.c 71.4 KB