postgresql/src
Bruce Momjian 9e05c5063e 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
2015-02-02 10:00:52 -05:00
..
backend to_char(): prevent writing beyond the allocated buffer 2015-02-02 10:00:52 -05:00
bin Translation updates 2015-02-01 22:56:09 -05:00
include On Darwin, detect and report a multithreaded postmaster. 2015-01-07 22:46:20 -05:00
interfaces Translation updates 2015-02-01 22:56:09 -05:00
makefiles Don't use deprecated dllwrap on Cygwin. 2014-02-01 16:14:15 -05:00
pl Translation updates 2015-02-01 22:56:09 -05:00
port port/snprintf(): fix overflow and do padding 2015-02-02 10:00:52 -05:00
template Don't try to force use of -no-cpp-precomp on OS X. It's been five years 2010-08-02 04:51:25 +00:00
test Fix column-privilege leak in error-message paths 2015-01-28 12:33:29 -05:00
timezone Update time zone data files to tzdata release 2015a. 2015-01-30 22:46:22 -05:00
tools Have config_sspi_auth() permit IPv6 localhost connections. 2014-12-25 14:10:21 -05:00
tutorial Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:06 +02:00
bcc32.mak Remove old-style win32 client-only visual c++ build infrastructure for everything except 2007-03-05 14:18:38 +00:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Rethink the way walreceiver is linked into the backend. Instead than shoving 2010-01-20 09:16:24 +00:00
Makefile.global.in Add mode where contrib installcheck runs each module in a separately named database. 2012-12-11 11:48:00 -05:00
Makefile.shlib fix whitespace 2014-02-01 16:26:31 -05:00
nls-global.mk Avoid error from mkdir if no languages are to be installed 2010-05-13 14:35:28 +00:00
win32.mak Update supported standalone VC++ version to 7.1+ only, and fix 2007-08-03 10:47:11 +00:00