summaryrefslogtreecommitdiff
path: root/src/tutorial/complex.source
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-12-03 21:26:31 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-12-03 21:26:31 +0000
commit8090616847daad2c3b5f322bb67a0a1eed3ddcd4 (patch)
tree582be9449e5ea6733f7cd937b8df6b7bd6a2674c /src/tutorial/complex.source
parent2ee3a720a4f66606eac346ce085eafbc0eaccab8 (diff)
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/tutorial/complex.source')
0 files changed, 0 insertions, 0 deletions