From: Daniel Veillard Date: Tue, 5 Dec 2006 09:59:07 +0000 (+0000) Subject: applied patch from Marcus Meissner removing a strict aliasing problem X-Git-Tag: v1.1.28~210 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9ab5c35b5edd8c11777888246c8f64634c5fcd2;p=platform%2Fupstream%2Flibxslt.git applied patch from Marcus Meissner removing a strict aliasing problem * libxslt/extensions.c: applied patch from Marcus Meissner removing a strict aliasing problem should fix #317921 Daniel --- diff --git a/ChangeLog b/ChangeLog index 92252ac..2e05714 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Dec 5 10:45:04 CET 2006 Daniel Veillard + + * libxslt/extensions.c: applied patch from Marcus Meissner removing + a strict aliasing problem should fix #317921 + Fri Dec 1 23:02:27 HKT 2006 William Brack * libxslt/transform.c: fixed problem with housekeeping of diff --git a/libxslt/extensions.c b/libxslt/extensions.c index ddd5476..ee097db 100644 --- a/libxslt/extensions.c +++ b/libxslt/extensions.c @@ -324,6 +324,7 @@ xsltExtModuleRegisterDynamic(const xmlChar * URI) const xmlChar *ext_directory = NULL; const xmlChar *protocol = NULL; xmlChar *i, *regfunc_name; + void *vregfunc; int rc; /* check for bad inputs */ @@ -414,7 +415,9 @@ xsltExtModuleRegisterDynamic(const xmlChar * URI) regfunc_name = xmlStrdup(ext_name); regfunc_name = xmlStrcat(regfunc_name, BAD_CAST "_init"); - rc = xmlModuleSymbol(m, (const char *) regfunc_name, (void **) ®func); + vregfunc = NULL; + rc = xmlModuleSymbol(m, (const char *) regfunc_name, &vregfunc); + regfunc = vregfunc; if (0 == rc) { /* call the module's init function */ (*regfunc) ();