bug in GUC

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: bug in GUC
Date: 2004-06-24 05:27:12
Message-ID: 20040624052712.GA7158@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers pgsql-patches

Hackers,

I think there a bug in the GUC mechanism. The custom variables patch
added several malloc() and a strdup() call, and they are never checked
for an out of memory condition.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"El que vive para el futuro es un iluso, y el que vive para el pasado,
un imbécil" (Luis Adler, "Los tripulantes de la noche")

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Thomas Hallgren 2004-06-24 06:49:21 Re: bug in GUC
Previous Message zakkr 2004-06-17 00:43:14 Re: does it?

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Hallgren 2004-06-24 06:49:21 Re: bug in GUC
Previous Message Thomas Hallgren 2004-06-24 05:12:31 Re: warning missing

Browse pgsql-patches by date

  From Date Subject
Next Message Thomas Hallgren 2004-06-24 06:49:21 Re: bug in GUC
Previous Message Serguei Mokhov 2004-06-24 04:11:27 Translation updates for 7.4/7.5: postgres-ru.po