Re: [BUGS] BUG #3571: call to decrypt causes segfault

2007-08-23 Thread Tom Lane
"Marko Kreen" <[EMAIL PROTECTED]> writes: > The fix should be in combo_decrypt() because other code > should not need to guess whether zero-length input is > allowed or not. > Patch attached. Thanks -- applied in all branches back to 7.3. regards, tom lane --

Re: [BUGS] BUG #3571: call to decrypt causes segfault

2007-08-23 Thread Marko Kreen
On 8/23/07, Tom Lane <[EMAIL PROTECTED]> wrote: > "Ken Colson" <[EMAIL PROTECTED]> writes: > > this statement: > > select decrypt(''::bytea,'password','bf') > > causes the postgresql backend to crash: > > This seems to be a 64bit problem. > > Reproduced here in HEAD. The problem is here: > 293

Re: [BUGS] BUG #3571: call to decrypt causes segfault

2007-08-22 Thread Tom Lane
"Ken Colson" <[EMAIL PROTECTED]> writes: > this statement: > select decrypt(''::bytea,'password','bf') > causes the postgresql backend to crash: > This seems to be a 64bit problem. Reproduced here in HEAD. The problem is here: Program terminated with signal 11, Segmentation fault. #0 0x2aaa