Re: libpq3 + ssl memory leak - Mailing list pgsql-bugs

From Tom Lane
Subject Re: libpq3 + ssl memory leak
Date
Msg-id 4865.1071787872@sss.pgh.pa.us
Whole thread Raw
In response to Re: libpq3 + ssl memory leak  (Neil Conway <neilc@samurai.com>)
Responses Re: libpq3 + ssl memory leak  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-bugs
Neil Conway <neilc@samurai.com> writes:
> Okay, I've attached a patch that fixes the problem for me. The problem
> turned out to be pretty simple: the PostgreSQL code (both backend and
> frontend SSL support) was calling SSL_get_peer_certificate() without
> properly free'ing its return value.

Applied to 7.4 and HEAD.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: plpgsql For SQLQuery Loop Flags Error
Next
From: "PostgreSQL Bugs List"
Date:
Subject: BUG #1015: Got a signal 11 while trying to create a temp table