r151 - in unstable/rt2570/debian: . patches

benh at alioth.debian.org benh at alioth.debian.org
Wed Jan 28 00:43:38 UTC 2009


Author: benh
Date: 2009-01-28 00:43:38 +0000 (Wed, 28 Jan 2009)
New Revision: 151

Added:
   unstable/rt2570/debian/patches/007_fix_probe_request_overflow.diff
Modified:
   unstable/rt2570/debian/changelog
   unstable/rt2570/debian/patches/series
Log:
Fixed buffer overflow vulnerability in processing of ad-hoc probe
requests (CVE-2009-0282) (closes: bug#513001)


Modified: unstable/rt2570/debian/changelog
===================================================================
--- unstable/rt2570/debian/changelog	2009-01-28 00:32:41 UTC (rev 150)
+++ unstable/rt2570/debian/changelog	2009-01-28 00:43:38 UTC (rev 151)
@@ -1,3 +1,10 @@
+rt2570 (1.1.0+cvs20080623-2) unstable; urgency=high
+
+  * Fixed buffer overflow vulnerability in processing of ad-hoc probe
+    requests (CVE-2009-0282) (closes: bug#513001)
+
+ -- Ben Hutchings <ben at decadent.org.uk>  Wed, 28 Jan 2009 00:39:19 +0000
+
 rt2570 (1.1.0+cvs20080623-1) unstable; urgency=low
 
   * New CVS snapshot

Added: unstable/rt2570/debian/patches/007_fix_probe_request_overflow.diff
===================================================================
--- unstable/rt2570/debian/patches/007_fix_probe_request_overflow.diff	                        (rev 0)
+++ unstable/rt2570/debian/patches/007_fix_probe_request_overflow.diff	2009-01-28 00:43:38 UTC (rev 151)
@@ -0,0 +1,14 @@
+Fixed buffer overflow vulnerability in processing of ad-hoc probe
+requests (CVE-2009-0282) (closes: bug#513001)
+
+--- rt2570.orig/Module/sanity.c
++++ rt2570/Module/sanity.c
+@@ -400,7 +400,7 @@
+ 
+     COPY_MAC_ADDR(Addr2, &Fr->Hdr.Addr2);
+ 
+-    if ((Fr->Octet[0] != IE_SSID) || (Fr->Octet[1] > MAX_LEN_OF_SSID))
++    if ((Fr->Octet[0] != IE_SSID) || ((UCHAR)Fr->Octet[1] > MAX_LEN_OF_SSID))
+     {
+         DBGPRINT(RT_DEBUG_TRACE, "PeerProbeReqSanity fail - wrong SSID IE(Type=%d,Len=%d)\n",Fr->Octet[0],Fr->Octet[1]);
+         return FALSE;

Modified: unstable/rt2570/debian/patches/series
===================================================================
--- unstable/rt2570/debian/patches/series	2009-01-28 00:32:41 UTC (rev 150)
+++ unstable/rt2570/debian/patches/series	2009-01-28 00:43:38 UTC (rev 151)
@@ -1,3 +1,4 @@
 000_if_name.diff
 005_fix_delays.diff
 006_fix_probe_148f_2573.diff
+007_fix_probe_request_overflow.diff




More information about the Pkg-ralink-commits mailing list