Re: Crash in pgCrypto? - Mailing list pgsql-hackers

From Marko Kreen
Subject Re: Crash in pgCrypto?
Date
Msg-id e51f66da0806160400n628cf3f9i7f80771cc634d90e@mail.gmail.com
Whole thread Raw
In response to Crash in pgCrypto?  (Mario Weilguni <mweilguni@sime.com>)
Responses Re: Crash in pgCrypto?  (Mario Weilguni <mweilguni@sime.com>)
List pgsql-hackers
On 6/16/08, Mario Weilguni <mweilguni@sime.com> wrote:
> Could someone using the pgcrypto extension please verify this?
>
>  SELECT encode(digest(null, 'md5'::text), 'hex');
>  or
>  SELECT digest(null, 'md5');
>
>  Takes a few seconds, and then crashes the server with a Signal 11. My
> system is PostgreSQL 8.2.7. Seems to be an unchecked access to memory
> location 0.

Seems you loaded pgcrypto function signatures from dump (from 8.0).
http://marc.info/?l=postgresql-general&m=118794006505296&w=2

Recreate the functions with pgcrypto.sql.

-- 
marko


pgsql-hackers by date:

Previous
From: Mario Weilguni
Date:
Subject: Crash in pgCrypto?
Next
From: Mario Weilguni
Date:
Subject: Re: Crash in pgCrypto?