Re: BUG #14019: Security label TAB causes unexpected EOF and client session termination

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: nummervet(at)mail(dot)ru
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14019: Security label TAB causes unexpected EOF and client session termination
Date: 2016-03-14 15:16:29
Message-ID: 30020.1457968589@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

nummervet(at)mail(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message David Steele 2016-03-14 17:46:40 Re: BUG #13685: Archiving while idle every archive_timeout with wal_level hot_standby
Previous Message Alexander Spiteri 2016-03-14 10:41:26 Re: BUG #14009: pg_restore not restoring privilegs when one login/group role is missing