< prev index next >
modules/javafx.web/src/main/native/Source/ThirdParty/libxslt/src/libxslt/transform.c
Print this page
rev 11312 : 8227402: Improve XSLT processing
Reviewed-by: kcr, rhalade
@@ -3491,11 +3491,12 @@
/*
* Security checking: can we write to this resource
*/
if (ctxt->sec != NULL) {
ret = xsltCheckWrite(ctxt->sec, ctxt, filename);
- if (ret == 0) {
+ if (ret <= 0) {
+ if (ret == 0)
xsltTransformError(ctxt, NULL, inst,
"xsltDocumentElem: write rights for %s denied\n",
filename);
xmlFree(URL);
xmlFree(filename);
< prev index next >