--- pgadmin-tools/support/misc.c.orig Thu Oct 6 15:13:10 2005 +++ pgadmin-tools/support/misc.c Thu Oct 6 15:13:39 2005 @@ -174,7 +174,7 @@ values[0][17] = 0; /* parse and decode expected timestamp */ - if (ParseDateTime(values[0], lowstr, field, ftype, MAXDATEFIELDS, &nf)) + if (ParseDateTime(values[0], lowstr, sizeof(lowstr), field, ftype, MAXDATEFIELDS, &nf)) continue; if (DecodeDateTime(field, ftype, nf, &dtype, &date, &fsec, &tz))