pgsql: Fix InitializeSessionUserId not to deference NULL rolename point

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix InitializeSessionUserId not to deference NULL rolename point
Date: 2016-03-04 17:30:16
Message-ID: E1abtYO-00045w-6T@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix InitializeSessionUserId not to deference NULL rolename pointer.

Dmitriy Sarafannikov, reviewed by Michael Paquier and Haribabu Kommi,
with a minor fix by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/546cd0d7664ee0f120ef3b267d4303190bdfdb94

Modified Files
--------------
src/backend/utils/init/miscinit.c | 24 +++++++++++++++++-------
1 file changed, 17 insertions(+), 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-03-04 18:11:06 pgsql: Minor optimizations based on ParallelContext having nworkers_lau
Previous Message Teodor Sigaev 2016-03-04 17:08:52 pgsql: Improve support of Hunspell in ispell dictionary.