diff options
Diffstat (limited to 'x11/wxGTK28/patches/patch-ca')
-rw-r--r-- | x11/wxGTK28/patches/patch-ca | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/x11/wxGTK28/patches/patch-ca b/x11/wxGTK28/patches/patch-ca deleted file mode 100644 index 6fc214a8bb7..00000000000 --- a/x11/wxGTK28/patches/patch-ca +++ /dev/null @@ -1,17 +0,0 @@ -$NetBSD: patch-ca,v 1.2 2010/02/16 17:38:14 taca Exp $ - -deal with CVE-2009-2369. - ---- src/common/image.cpp.orig 2009-03-06 13:17:40.000000000 +0100 -+++ src/common/image.cpp -@@ -186,6 +186,10 @@ bool wxImage::Create( int width, int hei - - m_refData = new wxImageRefData(); - -+ if (width <= 0 || height <= 0 || width > INT_MAX / 3 / height) { -+ UnRef(); -+ return false; -+ } - M_IMGDATA->m_data = (unsigned char *) malloc( width*height*3 ); - if (!M_IMGDATA->m_data) - { |