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