]> granicus.if.org Git - postgresql/commit
Fix error detection in contrib/pgcrypto's encrypt_iv() and decrypt_iv().
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 28 Jan 2012 04:09:16 +0000 (23:09 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 28 Jan 2012 04:09:56 +0000 (23:09 -0500)
commitb4e9fd4df3045ccca73a71b656b0fcbbc3c202f5
treeae3140d84b72002a9442f1222dd86cc0ae4bc455
parent5b242e5addcb2e337c3d9fcc637d092c2b45625b
Fix error detection in contrib/pgcrypto's encrypt_iv() and decrypt_iv().

Due to oversights, the encrypt_iv() and decrypt_iv() functions failed to
report certain types of invalid-input errors, and would instead return
random garbage values.

Marko Kreen, per report from Stefan Kaltenbrunner
contrib/pgcrypto/pgcrypto.c