Re: BUG #14019: Security label TAB causes unexpected EOF and client session termination - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #14019: Security label TAB causes unexpected EOF and client session termination
Date
Msg-id 30020.1457968589@sss.pgh.pa.us
Whole thread Raw
In response to BUG #14019: Security label TAB causes unexpected EOF and client session termination  (nummervet@mail.ru)
List pgsql-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

pgsql-bugs by date:

Previous
From: nummervet@mail.ru
Date:
Subject: BUG #14019: Security label TAB causes unexpected EOF and client session termination
Next
From: aelmalinka@gmail.com
Date:
Subject: BUG #14021: configure failing to find shared libperl