pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: nummervet@mail.ru
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14019: Security label TAB causes unexpected EOF and client session termination
Date: Mon, 14 Mar 2016 11:16:29 -0400
Message-ID: <30020.1457968589@sss.pgh.pa.us> (raw)
In-Reply-To: <20160314080637.8902.35041@wrigleys.postgresql.org>
References: <20160314080637.8902.35041@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

nummervet@mail.ru writes:
> Fresh installation of postgresql 9.5.1 from EDB wizard installer causes EOF
> errors and client connection termination every time you enter SECURITY LABEL
> command and start tabbing for options. The client receives error message:
> /opt/PostgreSQL/9.5/bin/psql: line 27: 16163 Segmentation fault      (core
> dumped) LD_PRELOAD=$PLL LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PG_BIN_PATH/../lib
> "$PG_BIN_PATH/psql.bin" "$@"

Oh, interesting ... I don't get a crash, but I do get lots more words
offered than I should.  Looks like list_SECURITY_LABEL_preposition[]
is missing a trailing NULL, and so you pick up whatever's next in memory.

Will fix, thanks for the report!

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)

Message-ID: <30020.1457968589@sss.pgh.pa.us>
Permalink:  ../30020.1457968589@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/30020.1457968589@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, nummervet@mail.ru
  Subject: Re: BUG #14019: Security label TAB causes unexpected EOF and client session termination
  In-Reply-To: <30020.1457968589@sss.pgh.pa.us>
  References: <20160314080637.8902.35041@wrigleys.postgresql.org> <30020.1457968589@sss.pgh.pa.us>

* 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