Bug#465338: [PATCH] #465338: network-manager: garbled names in list of networks

2008-02-12 Thread Michael Biebl
reassign 465338 wpasupplicant
thanks

Alban Browaeys wrote:
> Package: network-manager
> Followup-For: Bug #465338
> 
> The issue was in wpa_supplicant as shipped by debian . Could you
> reassign the bug report . I think we'll have to ship it in debian until
> it at least upstream git is back.
> 

Thanks for the patch. Reassigning to  wpasupplicant on your request.

Cheers,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#465338: [PATCH] #465338: network-manager: garbled names in list of networks

2008-02-12 Thread Alban Browaeys
Package: network-manager
Followup-For: Bug #465338

The issue was in wpa_supplicant as shipped by debian . Could you
reassign the bug report . I think we'll have to ship it in debian until
it at least upstream git is back.

Best regards
Alban

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages network-manager depends on:
ii  adduser  3.105   add and remove users and groups
ii  dbus 1.1.2-1 simple interprocess messaging syst
ii  dhcdbd   3.0-2   D-Bus interface to the ISC DHCP cl
ii  hal  0.5.10-5Hardware Abstraction Layer
ii  ifupdown 0.6.8   high level tools to configure netw
ii  iproute  20080108-1  Professional tools to control the 
ii  iputils-arping   3:20071127-1Tool to send ICMP echo requests to
ii  libc62.7-6   GNU C Library: Shared libraries
ii  libdbus-1-3  1.1.2-1 simple interprocess messaging syst
ii  libdbus-glib-1-2 0.74-1  simple interprocess messaging syst
ii  libgcrypt11  1.4.0-3 LGPL Crypto library - runtime libr
ii  libglib2.0-0 2.15.4-1The GLib library of C routines
ii  libgpg-error01.4-2   library for common error values an
ii  libhal1  0.5.10-5Hardware Abstraction Layer - share
ii  libiw29  29-1Wireless tools - library
ii  libnl1   1.1-1   Library for dealing with netlink s
ii  libnm-util0  0.6.5-5 network management framework (shar
ii  lsb-base 3.1-24  Linux Standard Base 3.1 init scrip
ii  wpasupplicant0.6.1~git20071119-1 Client support for WPA and WPA2 (I

Versions of packages network-manager recommends:
ii  network-manager-gnome 0.6.5-3network management framework (GNOM

-- no debconf information
--- wpasupplicant-0.6.2+git20080206.g8c0dad4/wpa_supplicant/ctrl_iface_dbus_handlers.c	2008-02-06 04:55:07.0 +0100
+++ wpasupplicant-0.6.2+git20080206.g8c0dad4.new/wpa_supplicant/ctrl_iface_dbus_handlers.c	2008-02-12 14:50:03.0 +0100
@@ -405,7 +405,8 @@
 		const char *ssid_data;
 		len = ie[1];
 		ie += 2;
-		ssid_data = (const char *) &ie;
+		ssid_data = (const char *) ie;
+		printf("SSID_DATA : %s %i\n", wpa_ssid_txt(ie, len), len);
 		if (!wpa_dbus_dict_append_byte_array(&iter_dict, "ssid",
 		 ssid_data, len))
 		goto error;
@@ -415,7 +416,7 @@
 	if (ie) {
 		const char *wpa_ie_data;
 		len = 2 + ie[1];
-		wpa_ie_data = (const char *) &ie;
+		wpa_ie_data = (const char *) ie;
 		if (!wpa_dbus_dict_append_byte_array(&iter_dict, "wpaie",
 		 wpa_ie_data, len))
 			goto error;
@@ -425,7 +426,7 @@
 	if (ie) {
 		const char *rsn_ie_data;
 		len = 2 + ie[1];
-		rsn_ie_data = (const char *) &ie;
+		rsn_ie_data = (const char *) ie;
 		if (!wpa_dbus_dict_append_byte_array(&iter_dict, "rsnie",
 		 rsn_ie_data, len))
 			goto error;