Thread: pgsql/src/bin/psql mainloop.c

pgsql/src/bin/psql mainloop.c

From
momjian@postgresql.org (Bruce Momjian - CVS)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    momjian@postgresql.org    02/06/15 15:37:48

Modified files:
    src/bin/psql   : mainloop.c

Log message:
    Noted with versions 7.0.3, 7.1.3, and 7.2.1:

    The psql interpreter becomes unstable if variable substitutions
    are used.  The debugger GDB was unable to help however mpatrol
    reports that the sprintf at mainloop.c:389 is steping one byte
    farther than the allocation.

    William K. Volkman