Re: NULL pointer crashes hashname()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bernd Helmle <mailings(at)oopsware(dot)de>
Cc: PostgreSQL-Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: NULL pointer crashes hashname()
Date: 2004-08-05 19:14:55
Message-ID: 20288.1091733295@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bernd Helmle <mailings(at)oopsware(dot)de> writes:
> By accidently passing a NULL pointer in a RuleStmt's RangeVar relname i
> recognized
> that this can lead to a crash of the backend in the function hashname(),
> located in hashfunc.c.

This is your bug, not hashname's.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hicham G. Elmongui 2004-08-05 23:43:04 OidFunctionCall4
Previous Message Tom Lane 2004-08-05 19:00:40 Re: Open items