Skip site navigation (1) Skip section navigation (2)

Re: use-after-free in psql

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org, Greg Sabino Mullane <greg(at)turnstep(dot)com>
Subject: Re: use-after-free in psql
Date: 2006-06-30 14:41:32
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Neil Conway wrote:
> There's a minor bug in the ON_ERROR_ROLLBACK code in psql. In HEAD, at
> line 878 the storage pointed to by "results" is released by a PQclear(),
> but is referenced by the PQcmdStatus() calls on lines 898, 899, and 900.

I think this is the fix for HEAD.  I'll apply after testing it a bit

Alvaro Herrera                      
The PostgreSQL Company - Command Prompt, Inc.

In response to

pgsql-bugs by date

Next:From: Greg Sabino MullaneDate: 2006-06-30 14:41:51
Subject: Re: use-after-free in psql
Previous:From: Tom LaneDate: 2006-06-30 14:25:39
Subject: Re: BUG #2506: hash index

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group