Re: Possible buffer overrun in src/backend/libpq/hba.c gethba_options()

2018-11-12 Thread Thomas Munro
On Tue, Nov 13, 2018 at 3:42 PM Thomas Munro wrote: > On Tue, Nov 13, 2018 at 3:02 PM Julian Hsiao wrote: > > During a routine Coverity scan of our internal PostgreSQL fork, it > > issued a buffer overrun warning for src/backend/libpq/hba.c, > > gethba_options()[0]: > > > > MAIN_ISSUE

Re: Possible buffer overrun in src/backend/libpq/hba.c gethba_options()

2018-11-12 Thread Thomas Munro
On Tue, Nov 13, 2018 at 3:02 PM Julian Hsiao wrote: > During a routine Coverity scan of our internal PostgreSQL fork, it > issued a buffer overrun warning for src/backend/libpq/hba.c, > gethba_options()[0]: > > MAIN_ISSUE EventDescription: Overrunning array "options" of 12 8-byte > elements at

Possible buffer overrun in src/backend/libpq/hba.c gethba_options()

2018-11-12 Thread Julian Hsiao
Hi, During a routine Coverity scan of our internal PostgreSQL fork, it issued a buffer overrun warning for src/backend/libpq/hba.c, gethba_options()[0]: MAIN_ISSUE EventDescription: Overrunning array "options" of 12 8-byte elements at element index 12 (byte offset 96) using index "noptions++"