Index: fe-exec.c
===================================================================
RCS file: /projects/cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v
retrieving revision 1.175
diff -c -r1.175 fe-exec.c
*** fe-exec.c 24 Sep 2005 17:53:28 -0000 1.175
--- fe-exec.c 3 Oct 2005 12:49:08 -0000
***************
*** 2429,2435 ****
{
if (*vp < 0x20 || *vp > 0x7e)
{
! (void) sprintf((char *) rp, "\\\\%03o", *vp);
rp += 5;
}
else if (*vp == '\'')
--- 2429,2435 ----
{
if (*vp < 0x20 || *vp > 0x7e)
{
! (void) snprintf((char *) rp, 6, "\\\\%03o", *vp);
rp += 5;
}
else if (*vp == '\'')