diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-08-23 16:15:51 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-08-23 16:15:51 +0000 |
commit | b918bf86c65632a5716308d8a613f5538a770927 (patch) | |
tree | b1661776f71fbbd9c0ee6222e7b4222652ed5f35 /src/backend/executor/nodeSubplan.c | |
parent | 44b5efbae656cba1a8dba79babbe446e31a777d7 (diff) | |
download | postgresql-b918bf86c65632a5716308d8a613f5538a770927.tar.gz postgresql-b918bf86c65632a5716308d8a613f5538a770927.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/executor/nodeSubplan.c')
0 files changed, 0 insertions, 0 deletions