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

use-after-free in psql

From: Neil Conway <neilc(at)samurai(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Cc: Greg Sabino Mullane <greg(at)turnstep(dot)com>
Subject: use-after-free in psql
Date: 2006-06-30 00:15:09
Message-ID: 1151626510.5838.33.camel@localhost (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
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'm busy at the moment -- if someone wants to fix this (backport to 8.1
please!), have at it. Otherwise I'll fix it this weekend.



pgsql-bugs by date

Next:From: Tom LaneDate: 2006-06-30 14:25:39
Subject: Re: BUG #2506: hash index
Previous:From: Jim C. NasbyDate: 2006-06-29 21:58:11
Subject: Re: [BUGS] BUG #2505: Translations error in pgAdmin III

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