[pkg-wpa-devel] r1177 - in /wpasupplicant/trunk/debian: changelog patches/15_gcc_4_3_warning_array_subscript_above_bounds.patch patches/series
kelmo-guest at users.alioth.debian.org
kelmo-guest at users.alioth.debian.org
Wed Jun 4 14:05:32 UTC 2008
Author: kelmo-guest
Date: Wed Jun 4 14:05:32 2008
New Revision: 1177
URL: http://svn.debian.org/wsvn/pkg-wpa/?sc=1&rev=1177
Log:
Add 15_gcc_4_3_warning_array_subscript_above_bounds.patch to silence
gcc-4.3 compiler warning: array subscript is above array bounds.
Added:
wpasupplicant/trunk/debian/patches/15_gcc_4_3_warning_array_subscript_above_bounds.patch
Modified:
wpasupplicant/trunk/debian/changelog
wpasupplicant/trunk/debian/patches/series
Modified: wpasupplicant/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-wpa/wpasupplicant/trunk/debian/changelog?rev=1177&op=diff
==============================================================================
--- wpasupplicant/trunk/debian/changelog (original)
+++ wpasupplicant/trunk/debian/changelog Wed Jun 4 14:05:32 2008
@@ -40,8 +40,10 @@
* Simplify debian/rules handling of wpa_supplicant/.config, just cp it in as
needed in build target. Move dh_install into install target. These will
make integration of possible future udeb cleaner.
-
- -- Kel Modderman <kel at otaku42.de> Wed, 04 Jun 2008 22:39:45 +1000
+ * Add 15_gcc_4_3_warning_array_subscript_above_bounds.patch to silence
+ gcc-4.3 compiler warning: array subscript is above array bounds.
+
+ -- Kel Modderman <kel at otaku42.de> Thu, 05 Jun 2008 00:02:13 +1000
wpasupplicant (0.6.3-1) unstable; urgency=low
Added: wpasupplicant/trunk/debian/patches/15_gcc_4_3_warning_array_subscript_above_bounds.patch
URL: http://svn.debian.org/wsvn/pkg-wpa/wpasupplicant/trunk/debian/patches/15_gcc_4_3_warning_array_subscript_above_bounds.patch?rev=1177&op=file
==============================================================================
--- wpasupplicant/trunk/debian/patches/15_gcc_4_3_warning_array_subscript_above_bounds.patch (added)
+++ wpasupplicant/trunk/debian/patches/15_gcc_4_3_warning_array_subscript_above_bounds.patch Wed Jun 4 14:05:32 2008
@@ -1,0 +1,23 @@
+From: Kel Modderman <kel at otaku42.de>
+Reference: none
+Description: Fix compile warning with gcc-4.3.
+
+../src/rsn_supp/wpa_ie.c: In function 'wpa_gen_wpa_ie':
+../src/rsn_supp/wpa_ie.c:195: warning: array subscript is above array bounds
+../src/rsn_supp/wpa_ie.c: In function 'wpa_parse_wpa_ie':
+../src/rsn_supp/wpa_ie.c:84: warning: array subscript is above array bounds
+
+wpa_ie_hdr struct allocates 3 bytes to oui member. WPA_GET_BE32 and
+WPA_PUT_BE32 seem to want a 4th.
+
+--- a/src/common/wpa_common.h
++++ b/src/common/wpa_common.h
+@@ -188,7 +188,7 @@
+ struct wpa_ie_hdr {
+ u8 elem_id;
+ u8 len;
+- u8 oui[3];
++ u8 oui[4];
+ u8 oui_type;
+ u8 version[2]; /* little endian */
+ } STRUCT_PACKED;
Modified: wpasupplicant/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-wpa/wpasupplicant/trunk/debian/patches/series?rev=1177&op=diff
==============================================================================
--- wpasupplicant/trunk/debian/patches/series (original)
+++ wpasupplicant/trunk/debian/patches/series Wed Jun 4 14:05:32 2008
@@ -8,6 +8,7 @@
12_fix_potential_use_after_free.patch
13_defined_IEEE8021X_EAPOL.patch
14_fix_compile_without_eap.patch
+15_gcc_4_3_warning_array_subscript_above_bounds.patch
20_wpa_gui_qt4_disable_link_prl.patch
41_manpage_format_fixes.patch
42_manpage_explain_available_drivers.patch
More information about the Pkg-wpa-devel
mailing list