Re: Potential use of uninitialized context in pgcrypto - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Potential use of uninitialized context in pgcrypto
Date
Msg-id 4154203.1602863241@sss.pgh.pa.us
Whole thread Raw
In response to Potential use of uninitialized context in pgcrypto  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
Daniel Gustafsson <daniel@yesql.se> writes:
> Even though we know that the digest algorithm exists when we reach the second
> call, we must check the returnvalue from each call to px_find_digest to handle
> allocation errors.

Agreed, it's a bug.  Will push in a bit.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Feature improvement: can we add queryId for pg_catalog.pg_stat_activity view?
Next
From: Alexander Lakhin
Date:
Subject: Re: Sometimes the output to the stdout in Windows disappears