pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgresql.org>
To: Patrick Krecker <pkrecker@gmail.com>
Cc: bianpan2016@163.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15104: Double free in the main function in ecpg.c
Date: Wed, 14 Mar 2018 01:38:45 +0100
Message-ID: <1520987925.2517.64.camel@postgresql.org> (raw)
In-Reply-To: <CACh_hd6DHY0M0Yw4vgvUrYEwswok9bTNpJF-G8xKLP7R4CJNjQ@mail.gmail.com>
References: <152056012010.4963.4379808667664715171@wrigleys.postgresql.org>
	<1520613211.2488.140.camel@postgresql.org>
	<CACh_hd6DHY0M0Yw4vgvUrYEwswok9bTNpJF-G8xKLP7R4CJNjQ@mail.gmail.com>

> There is a separate problem, when test.c *is* writeable and is
> followed by an - (stdout) argument. In this case there is another
> double free. Attached is a fix for both.

Thanks to both of you.

Committed.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! SF 49ers! Use Debian GNU/Linux, PostgreSQL




view thread (4+ messages)

Message-ID: <1520987925.2517.64.camel@postgresql.org>
Permalink:  ../1520987925.2517.64.camel@postgresql.org/
Also on:    postgresql.org/message-id/1520987925.2517.64.camel@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: meskes@postgresql.org, pkrecker@gmail.com, bianpan2016@163.com
  Subject: Re: BUG #15104: Double free in the main function in ecpg.c
  In-Reply-To: <1520987925.2517.64.camel@postgresql.org>
  References: <152056012010.4963.4379808667664715171@wrigleys.postgresql.org> <1520613211.2488.140.camel@postgresql.org> <CACh_hd6DHY0M0Yw4vgvUrYEwswok9bTNpJF-G8xKLP7R4CJNjQ@mail.gmail.com> <1520987925.2517.64.camel@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox