aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/functioncmds.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2013-06-12 19:49:50 -0400
committerNoah Misch <noah@leadboat.com>2013-06-12 19:49:50 -0400
commitff53890f687c7f6b2a10db6661e9c32faf832636 (patch)
treebd1bd5221cc815a5c0169f593292cf81f44542b4 /src/backend/commands/functioncmds.c
parentdc3eb5638349e74a6628130a5101ce866455f4a3 (diff)
downloadpostgresql-ff53890f687c7f6b2a10db6661e9c32faf832636.tar.gz
postgresql-ff53890f687c7f6b2a10db6661e9c32faf832636.zip
Don't use ordinary NULL-terminated strings as Name datums.
Consumers are entitled to read the full 64 bytes pertaining to a Name; using a shorter NULL-terminated string leads to reading beyond the end its allocation; a SIGSEGV is possible. Use the frequent idiom of copying to a NameData on the stack. New in 9.3, so no back-patch.
Diffstat (limited to 'src/backend/commands/functioncmds.c')
0 files changed, 0 insertions, 0 deletions