aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvacuum.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-08-23 16:15:57 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-08-23 16:15:57 +0000
commitf94c9dbf22119e19af05c09e184fecee2d6adb41 (patch)
treea05f5d3e0213913572f9ff875e668bc97dd24a87 /src/backend/access/gist/gistvacuum.c
parent59e4a6941ff855a9213ac78e3b838addd8ce6d1c (diff)
downloadpostgresql-f94c9dbf22119e19af05c09e184fecee2d6adb41.tar.gz
postgresql-f94c9dbf22119e19af05c09e184fecee2d6adb41.zip
Fix combo_decrypt() to throw an error for zero-length input when using a
padded encryption scheme. Formerly it would try to access res[(unsigned) -1], which resulted in core dumps on 64-bit machines, and was certainly trouble waiting to happen on 32-bit machines (though in at least the known case it was harmless because that byte would be overwritten after return). Per report from Ken Colson; fix by Marko Kreen.
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions