• Bruce Momjian's avatar
    I checked all the previous string handling errors and most of them were · a12b4e27
    Bruce Momjian authored
    already fixed by You. However there were a few left and attached patch
    should fix the rest of them.
    
    I used StringInfo only in 2 places and both of them are inside debug
    ifdefs. Only performance penalty will come from using strlen() like all
    the other code does.
    
    I also modified some of the already patched parts by changing
    snprintf(buf, 2 * BUFSIZE, ... style lines to
    snprintf(buf, sizeof(buf), ... where buf is an array.
    
    Jukka Holappa
    a12b4e27
_int.c 55.4 KB