Disable the undocumented xmlvalidate() function, which was unintentionally
authorTom Lane <[email protected]>
Sat, 1 Mar 2008 02:46:49 +0000 (02:46 +0000)
committerTom Lane <[email protected]>
Sat, 1 Mar 2008 02:46:49 +0000 (02:46 +0000)
commit3bf822c4d722d6245a65abdd2502a9d26ab990d5
tree4077c7bb34538a2a0a2f597c8daabe00855ebc63
parent64f30bb206f41b1d94d108466e259c1c9c9c2b73
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