Skip to content
Snippets Groups Projects
Commit f07c7bf4 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

I have been troubled by a segmentation fault when reloading from

a dumpall.  This has been happening when a second \connect is
encountered.

The faulty code was in fe-connect.c, where the memory for the user
password was freed, but the pointer itself was not set to NULL.
Later, the memory was reused and the password appeared not to be
empty, so that an attempt was made to reference it.

Oliver Elphick
parent 0d8a7dc6
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment