From: | Michael Meskes <meskes(at)postgresql(dot)org> |
---|---|
To: | Chen Huajun <chenhj(at)cn(dot)fujitsu(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: fix ecpg core dump when there's a very long struct variable name in .pgc file |
Date: | 2012-11-23 13:42:48 |
Message-ID: | 20121123134248.GA32440@feivel.credativ.lan |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Nov 22, 2012 at 06:09:20PM +0800, Chen Huajun wrote:
> When use a struct variable whose name length is very very long such as 12KB in .pgc source,
> ecpg will core dump because of buffer overflow if precompile the .pgc file.
How on earth did you run into this? :)
I absolutely agree that this is better be fixed and cjust committed the second
version of your patch.
Thanks.
Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL
From | Date | Subject | |
---|---|---|---|
Next Message | Henning Mälzer | 2012-11-23 14:17:59 | Question: Can i cut NON-HOT chain Pointers if there are no concurrent updates? |
Previous Message | Heikki Linnakangas | 2012-11-23 13:33:07 | Plugging fd leaks (was Re: Switching timeline over streaming replication) |