Re: [BUGS] BUG #1270: stack overflow in thread in fe_getauthname - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [BUGS] BUG #1270: stack overflow in thread in fe_getauthname
Date
Msg-id 5074.1097364232@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #1270: stack overflow in thread in fe_getauthname  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [BUGS] BUG #1270: stack overflow in thread in fe_getauthname
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> OK, we got a report.  I just thinkg 8192 is excessive for that
> structure, and if someone is having a problem, others might as well.

>> On Tru64 UNIX, sysconf(_SC_GETPW_R_SIZE_MAX) returns 1024.

I'd be more impressed by this line of reasoning if _SC_GETPW_R_SIZE_MAX
were defined on more than one of the platforms I use...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Security implications of config-file-location patch
Next
From: Bruce Momjian
Date:
Subject: Re: Notes on config-file-locations patch