< prev index next >

modules/javafx.web/src/main/native/Source/ThirdParty/libxslt/src/libxslt/xslt.c

Print this page
rev 11102 : 8227402: Improve XSLT processing
Reviewed-by: kcr, rhalade

*** 6761,6771 **** sec = xsltGetDefaultSecurityPrefs(); if (sec != NULL) { int res; res = xsltCheckRead(sec, NULL, filename); ! if (res == 0) { xsltTransformError(NULL, NULL, NULL, "xsltParseStylesheetFile: read rights for %s denied\n", filename); return(NULL); } --- 6761,6772 ---- sec = xsltGetDefaultSecurityPrefs(); if (sec != NULL) { int res; res = xsltCheckRead(sec, NULL, filename); ! if (res <= 0) { ! if (res == 0) xsltTransformError(NULL, NULL, NULL, "xsltParseStylesheetFile: read rights for %s denied\n", filename); return(NULL); }
< prev index next >