diff options
Diffstat (limited to 'dev-tcltk/tclxml/files/tclxml-3.2-format-security.patch')
-rw-r--r-- | dev-tcltk/tclxml/files/tclxml-3.2-format-security.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-tcltk/tclxml/files/tclxml-3.2-format-security.patch b/dev-tcltk/tclxml/files/tclxml-3.2-format-security.patch new file mode 100644 index 000000000000..2d13c6575ea6 --- /dev/null +++ b/dev-tcltk/tclxml/files/tclxml-3.2-format-security.patch @@ -0,0 +1,16 @@ + tclxslt-libxslt.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tclxslt-libxslt.c b/tclxslt-libxslt.c +index d943bf7..d18f645 100644 +--- a/tclxslt-libxslt.c ++++ b/tclxslt-libxslt.c +@@ -1506,7 +1506,7 @@ TclXSLTExtFunction(xpathCtxt, nargs) + obj = TclXSLT_ConvertTclObjToXPathObj(extinfo->interp, resultPtr); + valuePush(xpathCtxt, obj); + } else { +- xmlGenericError(xmlGenericErrorContext, ++ xmlGenericError(xmlGenericErrorContext, "%s", + Tcl_GetStringFromObj(resultPtr, NULL)); + /* Need to define a new error code - this is the closest in meaning */ + xpathCtxt->error = XPATH_UNKNOWN_FUNC_ERROR; |