~ubuntu-branches/ubuntu/lucid/wpasupplicant/lucid-updates

« back to all changes in this revision

Viewing changes to debian/patches/12_ipw_open_aps.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Kyle McMartin
  • Date: 2005-02-15 00:51:28 UTC
  • Revision ID: james.westby@ubuntu.com-20050215005128-4cnlxpp3vc3synqq
Tags: 0.3.8-1
* New upstream release.
* This release fixes a crash due to a buffer overflow, caused by
  a missing validation step on EAPOL-Key frames. Receiving malformed
  frames trigger the crash. More information available in the notes:
  http://lists.shmoo.com/pipermail/hostap/2005-February/009465.html
* Fix some badness with the init script. Missed the -B option
  to daemonize wpa_supplicant... pidfile is not currently being used
  as it requires modifying wpa_supplicant.
* patches/
  - 12_ipw_open_aps (closes: #295143)
    + merge patch against driver_ipw to fix association with
      open access points.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 12_ipw_open_aps.dpatch by  <kyle@debian.org>
 
3
##
 
4
 
 
5
## DP: Bug#295143: wpasupplicant: dosn't assocate using -Dipw
 
6
## DP: From: graziano <graziano@cs.ucsb.edu>
 
7
 
 
8
@DPATCH@
 
9
diff -urNad wpasupplicant-0.3.8/driver_ipw.c /tmp/dpep.G2xsgA/wpasupplicant-0.3.8/driver_ipw.c
 
10
--- wpasupplicant-0.3.8/driver_ipw.c    2005-02-06 12:06:23.000000000 -0500
 
11
+++ /tmp/dpep.G2xsgA/wpasupplicant-0.3.8/driver_ipw.c   2005-02-15 00:45:59.000000000 -0500
 
12
@@ -326,6 +326,9 @@
 
13
        int ret = 0;
 
14
        int unencrypted_eapol;
 
15
 
 
16
+       if ((params->key_mgmt_suite == KEY_MGMT_NONE) &&
 
17
+                       (wpa_driver_ipw_set_wpa(drv, 0) < 0))
 
18
+               ret = -1;
 
19
        if (ipw_set_wpa_ie(drv, params->wpa_ie, params->wpa_ie_len) < 0)
 
20
                ret = -1;
 
21
        if (wpa_driver_wext_set_ssid(drv->wext, params->ssid,