[libxslt] Fix xmlStrPrintf argument
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxslt] Fix xmlStrPrintf argument
- Date: Thu, 18 May 2017 16:26:11 +0000 (UTC)
commit 6d851ac3f94bace8dc090f036f350579b1ef95fb
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Thu May 18 17:47:59 2017 +0200
Fix xmlStrPrintf argument
The type of the msg parameter of xmlStrPrintf has changed. See the
following libxml2 commit:
4472c3a Fix some format string warnings with possible format string
vulnerability
libxslt/extensions.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libxslt/extensions.c b/libxslt/extensions.c
index ae6eef0..ed02de5 100644
--- a/libxslt/extensions.c
+++ b/libxslt/extensions.c
@@ -389,8 +389,7 @@ xsltExtModuleRegisterDynamic(const xmlChar * URI)
/* build the module filename, and confirm the module exists */
xmlStrPrintf((xmlChar *) module_filename, sizeof(module_filename),
- BAD_CAST "%s/%s%s",
- ext_directory, ext_name, LIBXML_MODULE_EXTENSION);
+ "%s/%s%s", ext_directory, ext_name, LIBXML_MODULE_EXTENSION);
#ifdef WITH_XSLT_DEBUG_EXTENSIONS
xsltGenericDebug(xsltGenericDebugContext,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]