aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeModifyTable.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2015-02-02 10:00:45 -0500
committerBruce Momjian <bruce@momjian.us>2015-02-02 10:00:50 -0500
commitbc4d5f2e57379feb7a577d25da2681a77e7ca854 (patch)
tree6f837b2ae407197cc42a0e679b91b0e6d0c42350 /src/backend/executor/nodeModifyTable.c
parentfe2526990b821efb9452fa8601ee216a487202ff (diff)
downloadpostgresql-bc4d5f2e57379feb7a577d25da2681a77e7ca854.tar.gz
postgresql-bc4d5f2e57379feb7a577d25da2681a77e7ca854.zip
port/snprintf(): fix overflow and do padding
Prevent port/snprintf() from overflowing its local fixed-size buffer and pad to the desired number of digits with zeros, even if the precision is beyond the ability of the native sprintf(). port/snprintf() is only used on systems that lack a native snprintf(). Reported by Bruce Momjian. Patch by Tom Lane. Backpatch to all supported versions. Security: CVE-2015-0242
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions