diff options
author | Bruce Momjian <bruce@momjian.us> | 2013-04-04 12:56:21 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2013-04-04 12:56:24 -0400 |
commit | 48a2cd370e2610f0a196240aed9f5abd82d3dada (patch) | |
tree | 91ef2b8624c09cc8086c5ccd5e85c036c111bcbe /src/backend/utils/adt/jsonfuncs.c | |
parent | bf2b0a147857f63daa2e5c17eed0169861371af8 (diff) | |
download | postgresql-48a2cd370e2610f0a196240aed9f5abd82d3dada.tar.gz postgresql-48a2cd370e2610f0a196240aed9f5abd82d3dada.zip |
psql: fix startup crash caused by PSQLRC containing a tilde
'strdup' the PSQLRC environment variable value before calling a routine
that might free() it.
Backpatch to 9.2, where the bug first appeared.
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions