Fix InitializeSessionUserId not to deference NULL rolename pointer.

Robert Haas <rhaas@postgresql.org>

Commit: 546cd0d7664ee0f120ef3b267d4303190bdfdb94
Author: Robert Haas <rhaas@postgresql.org>
Date: 2016-03-04T17:28:09Z
Releases: 9.6.0
Fix InitializeSessionUserId not to deference NULL rolename pointer.

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

Files

PathChange+/−
src/backend/utils/init/miscinit.c modified +17 −7