diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-10 14:57:46 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-10 14:57:46 +0000 |
commit | af9b481653240fe1ffd66f184026ea24928abcb2 (patch) | |
tree | fbde31e65ad77e3e8418e44758b4467718d9207e /src/backend/access/gist/gist.c | |
parent | d0d2d74ce73e733b8cb1868a37a033d498aae0c3 (diff) | |
download | postgresql-af9b481653240fe1ffd66f184026ea24928abcb2.tar.gz postgresql-af9b481653240fe1ffd66f184026ea24928abcb2.zip |
Fix old bug in contrib/sslinfo: X509_NAME_to_text freed the BIO_s_mem buffer
it was using too soon. In a situation where pg_do_encoding_conversion is
a no-op, this led to garbage data returned.
In HEAD, also modify the code that's ensuring null termination to make it
a tad more obvious what's happening.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions