BUG #14413: pgadmin3 crashes on start

From: bernhard(dot)rieder(at)eguana(dot)at
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #14413: pgadmin3 crashes on start
Date: 2016-11-04 23:56:41
Message-ID: 20161104235641.1386.66230@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 14413
Logged by: Bernhard Rieder
Email address: bernhard(dot)rieder(at)eguana(dot)at
PostgreSQL version: Unsupported/Unknown
Operating system: linux
Description:

pgadmin crashes on plugin.cc:383 when obj->GetConnection() returns 0

instead of:
if (!obj || !(obj->GetConnection()->GetStatus() == PGCONN_OK))

it should read:
if (!obj || !obj->GetConnection() || !(obj->GetConnection()->GetStatus() ==
PGCONN_OK))

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message John R Pierce 2016-11-05 05:33:17 Re: BUG #14413: pgadmin3 crashes on start
Previous Message Victor Yegorov 2016-11-04 16:38:09 Re: BUG #14411: Issue with using OFFSET