aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-07-07 21:12:53 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-07-07 21:12:53 +0000
commit65da0d66b4e89951078ebc43a5343780e4e700d6 (patch)
tree8bc075c2b755432ac3c51516a0fdbc7dfd0e3c12 /src/backend/commands/async.c
parentde85dd1d51ab7325984ef36302831ca21e3ae53e (diff)
downloadpostgresql-65da0d66b4e89951078ebc43a5343780e4e700d6.tar.gz
postgresql-65da0d66b4e89951078ebc43a5343780e4e700d6.zip
Fix misuse of StrNCpy to copy and add null to non-null-terminated data.
Does not work since it fetches one byte beyond the source data, and when the phase of the moon is wrong, the source data is smack up against the end of backend memory and you get SIGSEGV. Don't laugh, this is a fix for an actual user bug report.
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions