forked from pool/expat
8121760156
* Fixes CVE-2015-1283 — Multiple integer overflows in the XML_GetBuffer function * Fix potential null pointer dereference * Symbol XML_SetHashSalt was not exported * Output of xmlwf -h was incomplete * Document behavior of calling XML_SetHashSalt with salt 0 * Minor improvements to man page xmlwf(1) - Simplify expat-visibility.patch, refresh expat-alloc-size.patch - Drop config-guess-sub-update.patch, fixed upstream. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/expat?expand=0&rev=43
16 lines
411 B
Diff
16 lines
411 B
Diff
Index: expat-2.1.1/lib/expat_external.h
|
|
===================================================================
|
|
--- expat-2.1.1.orig/lib/expat_external.h
|
|
+++ expat-2.1.1/lib/expat_external.h
|
|
@@ -66,9 +66,8 @@
|
|
#endif /* not defined XML_STATIC */
|
|
|
|
|
|
-/* If we didn't define it above, define it away: */
|
|
#ifndef XMLIMPORT
|
|
-#define XMLIMPORT
|
|
+#define XMLIMPORT __attribute__ ((visibility ("default")))
|
|
#endif
|
|
|
|
|