aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-12-03 21:26:52 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-12-03 21:26:52 +0000
commitde68155298234e86cc8a1f0dabae0a2eaa304072 (patch)
tree7344225061c4c502ab829c066f9dcfed52afca66 /src/backend/utils/adt/arrayfuncs.c
parent8d424b321737d8b28813bd709a9bdbdc0ef5df47 (diff)
downloadpostgresql-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