openbsd-ports/textproc/libxml/patches/patch-configure_in
sthen 273c75eb1b apply a fix for CVE-2012-0841 to libxml. ok ajacoutot@
"certain XML parsers/servers are affected by the same, or similar,
flaw as the hash table collisions CPU usage denial of service.
Sending a specially crafted message to an XML service can result
in longer processing time, which could lead to a denial of service.
It is reported that this attack on XML can be applied on different
XML nodes (such as entities, element attributes, namespaces, various
elements in the XML security, etc.)."
2012-02-23 09:39:00 +00:00

16 lines
641 B
Plaintext

$OpenBSD: patch-configure_in,v 1.1 2012/02/23 09:39:00 sthen Exp $
CVE-2012-0841
http://git.gnome.org/browse/libxml2/commit/?id=8973d58b7498fa5100a876815476b81fd1a2412a
--- configure.in.orig Thu Nov 4 17:01:19 2010
+++ configure.in Wed Feb 22 19:02:10 2012
@@ -475,6 +475,7 @@ AC_CHECK_FUNCS(strdup strndup strerror)
AC_CHECK_FUNCS(finite isnand fp_class class fpclass)
AC_CHECK_FUNCS(strftime localtime gettimeofday ftime)
AC_CHECK_FUNCS(stat _stat signal)
+AC_CHECK_FUNCS(rand srand time)
dnl Checking the standard string functions availability
AC_CHECK_FUNCS(printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf,,