On 03/23/2017 06:41 AM, Michael Paquier wrote:
And after a lookup the failure is here: - result = get_role_password(port->user_name, &shadow_pass, logdetail); + shadow_pass = get_role_password(port->user_name, logdetail); if (result == STATUS_OK) result is never setup in this code path, so that may crash.
Ah, of course. For some reason, I has -Wno-maybe-uninitialized in my configure command line. Without that, gcc even warns about that.
Fixed, and pushed. Thanks! - Heikki -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers