Fix InitializeSessionUserId not to deference NULL rolename pointer.

Robert Haas <rhaas@postgresql.org>

Commit: 7963731f94fd57293a651aa2a9a2e31dd11d6541
Author: Robert Haas <rhaas@postgresql.org>
Date: 2016-03-04T17:09:39Z
Releases: 9.5.2
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