postgresql/contrib/chkpass
Tom Lane 80986e85aa Avoid returning undefined bytes in chkpass_in().
We can't really fix the problem that the result is defined to depend on
random(), so it is still going to fail the "unstable input conversion"
test in parse_type.c.  However, we can at least satify valgrind.  (It
looks like this code used to be valgrind-clean, actually, until somebody
did a careless s/strncpy/strlcpy/g on it.)

In passing, let's just make real sure that chkpass_out doesn't overrun
its output buffer.

No need for backpatch, I think, since this is just to satisfy debugging
tools.

Asif Naeem
2015-02-14 12:20:56 -05:00
..
chkpass--1.0.sql Fix volatility markings of some contrib I/O functions. 2014-11-05 11:34:11 -05:00
chkpass--unpackaged--1.0.sql Fix typos in some error messages thrown by extension scripts when fed to psql. 2014-08-25 18:30:37 +02:00
chkpass.c Avoid returning undefined bytes in chkpass_in(). 2015-02-14 12:20:56 -05:00
chkpass.control Convert contrib modules to use the extension facility. 2011-02-13 22:54:49 -05:00
Makefile Add file version information to most installed Windows binaries. 2014-07-14 14:07:52 -04:00