aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-11-10 14:57:38 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-11-10 14:57:38 +0000
commitd141e7493bb821300396d155fdea62a0278ddd6a (patch)
tree05c2918231d499fd8b5fe998a13b907ecba4069c /src/backend/utils/adt/xml.c
parentc5451c22e38bc3044588c596966afcbe0c29b103 (diff)
downloadpostgresql-d141e7493bb821300396d155fdea62a0278ddd6a.tar.gz
postgresql-d141e7493bb821300396d155fdea62a0278ddd6a.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/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions