From: PanBian <bianpan2016@163.com>
To: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14927: Unchecked SearchSysCache1() return value
Date: Mon, 27 Nov 2017 19:34:51 +0800
Message-ID: <20171127113451.GA30475@bp> (raw)
In-Reply-To: <ca5461f9-1d9b-dd89-2c58-cd6202cfdb5d@lab.ntt.co.jp>
References: <20171127090105.1463.3962@wrigleys.postgresql.org>
<ca5461f9-1d9b-dd89-2c58-cd6202cfdb5d@lab.ntt.co.jp>
On Mon, Nov 27, 2017 at 07:20:51PM +0900, Amit Langote wrote:
> On 2017/11/27 18:01, bianpan2016@163.com wrote:
> > The following bug has been logged on the website:
> >
> > Bug reference: 14927
> > Logged by: Pan Bian
> > Email address: bianpan2016@163.com
> > PostgreSQL version: 10.1
> > Operating system: Linux
> > Description:
> >
>
> Thanks for the report. Attached a patch that adds a check that tuple is
> valid before trying to dereference it.
>
> Thanks,
> Amit
Got it. These patches fixes the bug.
Thanks,
Pan Bian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: bianpan2016@163.com, Langote_Amit_f8@lab.ntt.co.jp
Subject: Re: BUG #14927: Unchecked SearchSysCache1() return value
In-Reply-To: <20171127113451.GA30475@bp>
References: <20171127090105.1463.3962@wrigleys.postgresql.org> <ca5461f9-1d9b-dd89-2c58-cd6202cfdb5d@lab.ntt.co.jp> <20171127113451.GA30475@bp>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox