Re: BUG #15104: Double free in the main function in ecpg.c

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Patrick Krecker <pkrecker(at)gmail(dot)com>
Cc: bianpan2016(at)163(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15104: Double free in the main function in ecpg.c
Date: 2018-03-14 00:38:45
Message-ID: 1520987925.2517.64.camel@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> 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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2018-03-14 01:03:50 Re: BUG #14835: Postgres crashed
Previous Message Tom Lane 2018-03-13 22:36:36 Re: BUG #15109: Unhelpful error message on type mismatch