Re: pgcrypto: PGP signatures
От | Jeff Janes |
---|---|
Тема | Re: pgcrypto: PGP signatures |
Дата | |
Msg-id | CAMkU=1xX9d2tYb41v6yCX-UB0qgqwhoTDS=Z2P2a+E3csrw1Tw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: pgcrypto: PGP signatures (Marko Tiikkaja <marko@joh.to>) |
Ответы |
Re: pgcrypto: PGP signatures
|
Список | pgsql-hackers |
On Mon, Oct 20, 2014 at 3:32 PM, Marko Tiikkaja <marko@joh.to> wrote:
Hi,
Here's the rebased patch -- as promised -- in a v7.
Hi Marko,
Using the same script as for the memory leak, I am getting seg faults using this patch.
24425 2014-10-27 15:42:11.819 PDT LOG: server process (PID 24452) was terminated by signal 11: Segmentation fault
24425 2014-10-27 15:42:11.819 PDT DETAIL: Failed process was running: select pgp_sym_decrypt_verify(dearmor($1),$2,dearmor($3),'debug=1')
gdb backtrace:
#0 pfree (pointer=0x0) at mcxt.c:749
#1 0x00007f617d7973e7 in pgp_sym_decrypt_verify_text (fcinfo=0x1d7f1f0) at pgp-pgsql.c:1047
#2 0x000000000059f185 in ExecMakeFunctionResultNoSets (fcache=0x1d7f180, econtext=0x1d7fb00, isNull=0x7fff02e902bf "", isDone=<value optimized out>)
at execQual.c:1992
#3 0x000000000059ae0c in ExecEvalExprSwitchContext (expression=<value optimized out>, econtext=<value optimized out>, isNull=<value optimized out>,
isDone=<value optimized out>) at execQual.c:4320
Cheers,
Jeff
В списке pgsql-hackers по дате отправления: