Log Message:
-----------
Use StrNCpy not strncpy to fill hash key, to ensure the resulting key
is null-terminated. I think this is not a real bug because the parser
would always have truncated the identifier to NAMEDATALEN-1 already,
but let's be safe. Per report from Klocwork.
Tags:
----
REL7_4_STABLE
Modified Files:
--------------
pgsql/src/backend/commands:
prepare.c (r1.23 -> r1.23.4.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/prepare.c.diff?r1=1.23&r2=1.23.4.1)
pgsql-committers by date
| Next: | From: User Aglio | Date: 2004-12-03 21:49:19 |
| Subject: press - pr: New Directory |
| Previous: | From: Tom Lane | Date: 2004-12-03 21:26:36 |
| Subject: pgsql: Use StrNCpy not strncpy to fill hash key, to ensure the resulting |