pgsql/src/backend/utils/adt (like.c not_in.c regexp.c varchar.c) - Mailing list pgsql-committers

From Tom Lane
Subject pgsql/src/backend/utils/adt (like.c not_in.c regexp.c varchar.c)
Date
Msg-id 200007072112.e67LCqA74831@hub.org
Whole thread Raw
List pgsql-committers
  Date: Friday, July  7, 2000 @ 17:12:51
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/utils/adt
     from hub.org:/home/projects/pgsql/tmp/cvs-serv74781/src/backend/utils/adt

Modified Files:
    like.c not_in.c regexp.c varchar.c

-----------------------------  Log Message  -----------------------------

Fix misuse of StrNCpy to copy and add null to non-null-terminated data.
Does not work since it fetches one byte beyond the source data, and when
the phase of the moon is wrong, the source data is smack up against the
end of backend memory and you get SIGSEGV.  Don't laugh, this is a fix
for an actual user bug report.

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql/src/backend/libpq (be-fsstubs.c be-pqexec.c)
Next
From: Tom Lane
Date:
Subject: REL7_0_PATCHES pgsql/src/backend/utils/adt (like.c regexp.c varchar.c)