aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2017-10-09 15:20:42 -0700
committerAndres Freund <andres@anarazel.de>2017-10-09 15:20:42 -0700
commit82c117cb90e6b6b79f06d61eb1ddf06e94e75b60 (patch)
tree9157fe6d998ef40cadd2aa6392b42d1d7a6ba22f /src/backend/commands/async.c
parent8a241792f968ed5be6cf4d41e32c0d264f6c0c65 (diff)
downloadpostgresql-82c117cb90e6b6b79f06d61eb1ddf06e94e75b60.tar.gz
postgresql-82c117cb90e6b6b79f06d61eb1ddf06e94e75b60.zip
Fix pnstrdup() to not memcpy() the maximum allowed length.
The previous behaviour was dangerous if the length passed wasn't the size of the underlying buffer, but the maximum size of the underlying buffer. Author: Andres Freund Discussion: https://postgr.es/m/20161003215524.mwz5p45pcverrkyk@alap3.anarazel.de
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions