summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorBruce Momjian2015-02-02 15:00:45 +0000
committerBruce Momjian2015-02-02 15:00:49 +0000
commit2ac95c83ce9321cb428bf3508a606df31c762ef1 (patch)
treedcf5b6bf34a11d2d58ff99925cee632e47bb3e07 /doc/src
parent56d2bee9db219b21592c6fef9d29ce1d5e3c6c59 (diff)
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 'doc/src')
0 files changed, 0 insertions, 0 deletions