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)
commit1328b735ee0f228aa2357d2140bc23c88f2eb7ce
tree842155e71dd9a3fd8fbea4d8d97923b08436f0f7
parent2b26b8b3ae027b8d20464c19100309f1b72c4ea3
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