Disable the undocumented xmlvalidate() function, which was unintentionally
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 1 Mar 2008 02:46:55 +0000 (02:46 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 1 Mar 2008 02:46:55 +0000 (02:46 +0000)
commit3f179c33131a112b591f792c0d04fa53a1531927
tree96f7c8e835b9ccd6f7307e975e6c90f7bc0c15f1
parent17851d03d407d5008eafb95c981db467e0433b9d
Disable the undocumented xmlvalidate() function, which was unintentionally
left in the code though it was not meant to be provided.  It represents a
security hole because unprivileged users could use it to look at (at least the
first line of) any file readable by the backend.  Fortunately, this is only
possible if the backend was built with XML support, so the damage is at least
mitigated; and 8.3 probably hasn't propagated into any security-critical uses
yet anyway.  Per report from Sergey Burladyan.
src/backend/utils/adt/xml.c