diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-12-03 21:26:52 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-12-03 21:26:52 +0000 |
commit | de68155298234e86cc8a1f0dabae0a2eaa304072 (patch) | |
tree | 7344225061c4c502ab829c066f9dcfed52afca66 /src/backend/utils/adt/arrayfuncs.c | |
parent | 8d424b321737d8b28813bd709a9bdbdc0ef5df47 (diff) | |
download | postgresql-de68155298234e86cc8a1f0dabae0a2eaa304072.tar.gz postgresql-de68155298234e86cc8a1f0dabae0a2eaa304072.zip |
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.
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions